make sure task cleans up
This commit is contained in:
parent
cb222198ce
commit
8f13485f54
@ -19,6 +19,7 @@ module Flowerbox
|
|||||||
desc "Run Flowerbox for the tests in #{options[:dir]}"
|
desc "Run Flowerbox for the tests in #{options[:dir]}"
|
||||||
task(name) do
|
task(name) do
|
||||||
raise StandardError.new("Flowerbox tests failed") if Flowerbox.run(@options[:dir], @options) != 0
|
raise StandardError.new("Flowerbox tests failed") if Flowerbox.run(@options[:dir], @options) != 0
|
||||||
|
Flowerbox.cleanup!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user