Sha256: e77017a013c637f569fef948471acf931bd8e95a801dffac0884639590cf79c0
Contents?: true
Size: 607 Bytes
Versions: 2
Compression:
Stored size: 607 Bytes
Contents
#!/usr/bin/env ruby # coding: utf-8 url 'http://retter.example.com/' title '<%= name %>' description '<%= name %>' author '<%= ENV["USER"] %>' ## 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 # preview if yes?("Preview now? [yes/no]") # end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
retter-0.1.1 | lib/retter/generator/skel/Retterfile |
retter-0.1.0 | lib/retter/generator/skel/Retterfile |