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
end
desc "Run the unit specs"
task :unit do
task :unit => :unpack_fixture_tarballs do
sh "bacon #{specs('unit/**')} -q"
end
desc "Run the functional specs"
task :functional => "ext:cleanbuild" do
task :functional => [:unpack_fixture_tarballs, "ext:cleanbuild"] do
sh "bacon #{specs('functional/**')}"
end
desc "Run the integration spec"
task :integration => "ext:cleanbuild" do
task :integration => [:unpack_fixture_tarballs, "ext:cleanbuild"] do
sh "bacon spec/integration_spec.rb"
end
task :all => "ext:cleanbuild" do
task :all => [:unpack_fixture_tarballs, "ext:cleanbuild"] do
sh "bacon #{specs('**')}"
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