Commit 14f4afb6 authored by Luke Redpath's avatar Luke Redpath

Make sure we unpack the fixture tarballs before running specs, as this can

cause breakage if they have been updated recently.
parent 32aaaf83
...@@ -61,21 +61,21 @@ namespace :spec do ...@@ -61,21 +61,21 @@ namespace :spec do
end end
desc "Run the unit specs" desc "Run the unit specs"
task :unit do task :unit => :unpack_fixture_tarballs do
sh "bacon #{specs('unit/**')} -q" sh "bacon #{specs('unit/**')} -q"
end end
desc "Run the functional specs" desc "Run the functional specs"
task :functional => "ext:cleanbuild" do task :functional => [:unpack_fixture_tarballs, "ext:cleanbuild"] do
sh "bacon #{specs('functional/**')}" sh "bacon #{specs('functional/**')}"
end end
desc "Run the integration spec" desc "Run the integration spec"
task :integration => "ext:cleanbuild" do task :integration => [:unpack_fixture_tarballs, "ext:cleanbuild"] do
sh "bacon spec/integration_spec.rb" sh "bacon spec/integration_spec.rb"
end end
task :all => "ext:cleanbuild" do task :all => [:unpack_fixture_tarballs, "ext:cleanbuild"] do
sh "bacon #{specs('**')}" sh "bacon #{specs('**')}"
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