mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
syntax sugar and test-requirements.txt
This commit is contained in:
+9
-1
@@ -1,3 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DISABLE_COLLECTSTATIC=1 "$(dirname ${0:-})/compile" "$1" "$2" "$3"
|
||||
# Syntax sugar.
|
||||
BIN_DIR=$(cd $(dirname $0); pwd) # absolute path
|
||||
source $BIN_DIR/utils
|
||||
|
||||
DISABLE_COLLECTSTATIC=1 "$(dirname ${0:-})/compile" "$1" "$2" "$3"
|
||||
|
||||
if [[ -f "$1/requirements-test.txt" ]]; then
|
||||
/app/.heroku/python/bin/pip install -r requirements-test.txt --exists-action=w --src=./.heroku/src --disable-pip-version-check --no-cache-dir 2>&1 | cleanup | indent
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user