1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Reflect exit status to build

This commit is contained in:
Takashi Kokubun 2015-03-30 21:01:57 +09:00
parent ee9937659d
commit 7d10cb0aad

View file

@ -7,7 +7,7 @@ end
desc 'Run RSpec code examples'
task :spec do
system('bundle exec rspec --pattern spec/hamlit/**{,/\*/\*\*\}/\*_spec.rb')
exit system('bundle exec rspec --pattern spec/hamlit/**{,/\*/\*\*\}/\*_spec.rb')
end
namespace :spec do
@ -27,7 +27,7 @@ end
namespace :rails do
desc 'Run Rails specs'
task :spec do
system('cd spec/rails && rake spec')
exit system('cd spec/rails && rake spec')
end
end