Files
heroku-buildpack-python/bin/steps/django/collectstatic
T
2012-05-15 15:00:56 -07:00

12 lines
298 B
Bash
Executable File

#!/usr/bin/env bash
# Compile assets.
echo "-----> Collecting static files"
python $PROJECT/manage.py collectstatic --noinput | indent
[ $? -ne 0 ] && {
echo " ! Error running manage.py collectstatic. More info:"
echo " ! http://devcenter.heroku.com/articles/django-assets"
}
set -e