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:
parent
ee9937659d
commit
7d10cb0aad
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue