diff --git a/rakefile b/rakefile index 30716ca365..73b0c0fd83 100644 --- a/rakefile +++ b/rakefile @@ -134,7 +134,11 @@ TEST_TASKS = [] desc "Run collectstatic in the specified environment" task "#{system}:collectstatic:#{env}" => :predjango do - sh("#{django_admin(system, env, 'collectstatic', '--noinput')}") + sh("#{django_admin(system, env, 'collectstatic', '--noinput')} > /tmp/collectstatic.out") do |ok, status| + if !ok + abort "collectstatic failed!" + end + end end end end @@ -270,4 +274,4 @@ task :doc => :builddocs do Dir.chdir('docs/build/html') do sh('open index.html') end -end \ No newline at end of file +end