mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
collecting static files
This commit is contained in:
@@ -17,9 +17,10 @@ if [ ! "$SILENCE_COLLECTSTATIC" ]; then
|
||||
set -e
|
||||
fi
|
||||
|
||||
echo "-----> Collecting static files"
|
||||
|
||||
# Compile assets if collectstatic appears to be kosher.
|
||||
if [ "$RUN_COLLECTSTATIC" ]; then
|
||||
echo "-----> Collecting static files"
|
||||
python $MANAGE_FILE collectstatic --noinput | indent
|
||||
|
||||
[ $? -ne 0 ] && {
|
||||
|
||||
Reference in New Issue
Block a user