improvements to buildpack output

This commit is contained in:
2016-02-08 20:59:03 -05:00
parent 45b00e32a7
commit ffb89feb0d
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ bpwatch start collectstatic # metrics collection
if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ] && [ "$DJANGO_INSTALLED" ]; then
set +e
echo "-----> $ python $MANAGE_FILE collectstatic --noinput"
puts-cmd "python $MANAGE_FILE collectstatic --noinput"
# Run collectstatic, cleanup some of the noisy output.
python $MANAGE_FILE collectstatic --noinput --traceback 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d' | indent
+1 -1
View File
@@ -1,5 +1,5 @@
# Install dependencies with Pip.
puts-step "Installing dependencies with pip"
puts-cmd "pip install -r requirements.txt"
[ ! "$FRESH_PYTHON" ] && bpwatch start pip_install
[ "$FRESH_PYTHON" ] && bpwatch start pip_install_first