Commit afb60f79 by Calen Pennington

Change the name of the asset gathering task

parent 58926759
...@@ -249,8 +249,8 @@ end ...@@ -249,8 +249,8 @@ end
sh("echo 'import #{system}.envs.#{env}' | #{django_admin(system, env, 'shell')}") sh("echo 'import #{system}.envs.#{env}' | #{django_admin(system, env, 'shell')}")
end end
desc "Run collectstatic in the specified environment" desc "Compile coffeescript and sass, and then run collectstatic in the specified environment"
task "#{system}:collect_assets:#{env}" do task "#{system}:gather_assets:#{env}" do
compile_assets() compile_assets()
sh("#{django_admin(system, env, 'collectstatic', '--noinput')} > /dev/null") do |ok, status| sh("#{django_admin(system, env, 'collectstatic', '--noinput')} > /dev/null") do |ok, status|
if !ok if !ok
......
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