Created
March 1, 2012 21:21
-
-
Save bradland/1953319 to your computer and use it in GitHub Desktop.
Rake default lists tasks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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