Sha256: fb7900a145e35af35aee307f14b6da981fc3566fc9ea359ac1504d5c42e374e0
Contents?: true
Size: 874 Bytes
Versions: 1
Compression:
Stored size: 874 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 url 'http://retter.example.com/' title '<%= name %>' description '<%= name %>' author '<%= ENV["USER"] %>' renderer Retter::Renderers::PygmentsRenderer # Callbacks for retter sub-command: edit, rebind, commit # # Syntax: # after [command], [invoke command or proc] # # Using symbol example: # after :rebind, :commit # # Using proc example: # after :commit do # if yes?("Deploy now? [yes/no]") # system "cd #{config.retter_home}" # system 'git push origin master' # end # end # # after :edit do # Retter.reset! # ident = ARGV.pop || 'today' # # preview ident if yes?("Preview now? [yes/no]") # end # # Skip binding: # examples: # allow_binding :none # allow_binding [:profile, :entries, :feed] # # Anyway index page will be bound.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
retter-0.2.1 | lib/retter/generator/skel/Retterfile |