Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 302 Bytes
require 'rack/test'
require 'app.rb'
task :install do
puts "You need to run this with sudo"
sh('gem update --system')
sh('gem install sinatra')
end
task :default do
sh('ruby app.rb')
end
task :routes do
Sinatra::Application.routes["GET"].each do |route|
puts route[0].source
end
end