Commit 93d05f94 authored by Marin Usalj's avatar Marin Usalj

separated spec:unit from spec:unit_quiet

parent 29697f42
...@@ -167,9 +167,16 @@ namespace :spec do ...@@ -167,9 +167,16 @@ namespace :spec do
#--------------------------------------# #--------------------------------------#
unit_specs_command = "bundle exec bacon #{specs('unit/**')}"
desc "Run the unit specs" desc "Run the unit specs"
task :unit => :unpack_fixture_tarballs do task :unit => :unpack_fixture_tarballs do
sh "bundle exec bacon #{specs('unit/**')} -q" sh unit_specs_command
end
desc "Run the unit specs quietly (fail fast, display only one failure)"
task :unit_quiet => :unpack_fixture_tarballs do
sh "#{unit_specs_command} -q"
end end
#--------------------------------------# #--------------------------------------#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment