Created
January 12, 2012 14:09
-
-
Save Peeja/1600706 to your computer and use it in GitHub Desktop.
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
$ rake fail succeed | |
Failing... | |
rake aborted! | |
Tasks: TOP => fail | |
(See full trace by running task with --trace) |
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
task :fail do | |
puts "Failing..." | |
fail | |
end | |
task :succeed do | |
puts "Success!" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment