mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
\n
This commit is contained in:
@@ -13,8 +13,8 @@ fi
|
||||
# Compile assets if collectstatic appears to be kosher.
|
||||
if [ "$RUN_COLLECTSTATIC" ]; then
|
||||
echo "-----> Collecting static files"
|
||||
echo "python $MANAGE_FILE collectstatic --noinput --verbosity=0"
|
||||
python $MANAGE_FILE collectstatic --noinput --verbosity=0 | indent
|
||||
echo "python $MANAGE_FILE collectstatic --noinput"
|
||||
python $MANAGE_FILE collectstatic --noinput | indent
|
||||
|
||||
[ $? -ne 0 ] && {
|
||||
echo " ! Error running manage.py collectstatic. More info:"
|
||||
@@ -23,4 +23,6 @@ if [ "$RUN_COLLECTSTATIC" ]; then
|
||||
else
|
||||
echo " ! Django collecstatic is not configured. Learn more:"
|
||||
echo " http://devcenter.heroku.com/articles/django-assets"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo '\n'
|
||||
Reference in New Issue
Block a user