Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (35 sloc) 0.954 kb
require 'amp/extensions/stats'
# need { 'lib/amp/extensions/ditz' }
# need { 'lib/amp/extensions/lighthouse' }
# Amp::LighthouseHook.add_hooks(:commit) do |hook|
# hook.token = 'e4d6af1951c240e00c216bad3c52cf269cba4a7c'
# hook.account = 'carbonica'
# hook.project = 'amp'
# end
Amp::Command.new("silly") do |c|
c.workflow :hg
c.on_run do |options, args|
puts "You're silly!"
puts "You're REALLLY silly!"
end
c.desc "tell you how silly you are"
end
template :silly, <<-EOF
<%= change_node.hexlify %> <%= revision %>
EOF
namespace :docs do
command "gen" do |c|
c.desc "create the docs"
c.on_run {|o, a| `rake yard:doc`; puts 'docs made!' }
end
command "upload" do |c|
c.desc "upload the docs"
c.on_run {|o, a| puts "docs uploaded!!!!" }
end
namespace :search do
command "methods" do |c|
c.desc "search method names"
c.on_run {|o, a| puts "#{a.inspect}"}
end
end
end
Jump to Line
Something went wrong with that request. Please try again.