Skip to content

Instantly share code, notes, and snippets.

@bradland
Created March 1, 2012 21:21
Show Gist options
  • Save bradland/1953319 to your computer and use it in GitHub Desktop.
Save bradland/1953319 to your computer and use it in GitHub Desktop.
Rake default lists tasks
desc "The default task; lists tasks"
task :default do
puts `rake --tasks`
end
desc "Go ahead, you deserve it"
task :endulge do
puts "You're great. You really are."
end
desc "If you dare"
task :oh_my do
puts "Your mother was a hamster and your father smelt of elderberries!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment