Created
February 16, 2012 03:28
-
-
Save bernardeli/1841487 to your computer and use it in GitHub Desktop.
rake build
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 "Run all tests" | |
task :build do | |
system "rm rerun.txt" | |
raise 'Error on rspec. Fix it, bro' unless system "bundle exec rspec spec" | |
raise 'Error on cucumber plain. Fix it, bro' unless system "bundle exec cucumber" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment