Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
e76c5068d1
1 changed files with 4 additions and 0 deletions
|
|
@ -8,7 +8,11 @@ namespace :cruise do
|
||||||
exit_status = $?.exitstatus
|
exit_status = $?.exitstatus
|
||||||
puts "Stopping virtual display..."
|
puts "Stopping virtual display..."
|
||||||
`sh -e /etc/init.d/xvfb stop`
|
`sh -e /etc/init.d/xvfb stop`
|
||||||
|
puts "Cleaning up..."
|
||||||
|
FileUtils.rm_rf("#{Rails.root}/public/uploads/images")
|
||||||
|
FileUtils.rm_rf("#{Rails.root}/public/uploads/tmp")
|
||||||
raise "tests failed!" unless exit_status == 0
|
raise "tests failed!" unless exit_status == 0
|
||||||
|
puts "All tests passed!"
|
||||||
end
|
end
|
||||||
|
|
||||||
task :migrate do
|
task :migrate do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue