mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
@@ -30,7 +30,7 @@ if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALL
|
|||||||
echo "-----> Preparing static assets with 'collectstatic'"
|
echo "-----> Preparing static assets with 'collectstatic'"
|
||||||
|
|
||||||
# Run collectstatic, cleanup some of the noisy output.
|
# Run collectstatic, cleanup some of the noisy output.
|
||||||
python $MANAGE_FILE collectstatic --noinput --traceback 2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
|
python $MANAGE_FILE collectstatic --noinput --traceback 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d;/^ /d' | indent
|
||||||
echo
|
echo
|
||||||
python $MANAGE_FILE collectstatic 2>&1 | sed '/^Copying/d;/^$/d' | indent
|
python $MANAGE_FILE collectstatic 2>&1 | sed '/^Copying/d;/^$/d' | indent
|
||||||
COLLECTSTATIC_STATUS="${PIPESTATUS[0]}"
|
COLLECTSTATIC_STATUS="${PIPESTATUS[0]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user