diff --git a/bin/detect b/bin/detect index c5db3d3db1ce48ce46edc447955ad6f8835b0818..818ed74e96c6029569850e5ed09548a5165b791e 100755 --- a/bin/detect +++ b/bin/detect @@ -19,11 +19,4 @@ if [ ! -f $BUILD_DIR/requirements.txt ] && [ ! -f $BUILD_DIR/setup.py ]; then exit 1 fi -# `Python/Django` if `**/settings.py` is present. -# -# Otherwise, `Python`. - - -MANAGE_FILE=$(find $BUILD_DIR/. -maxdepth 3 -type f -name 'manage.py' | head -1) - -[ -n "$MANAGE_FILE" ] && grep -Fiq "django" $MANAGE_FILE && echo Python/Django || echo Python +echo Python diff --git a/bin/steps/django b/bin/steps/collectstatic similarity index 89% rename from bin/steps/django rename to bin/steps/collectstatic index b144212e15569b2356f363ba90d82761de01c7d8..c041c6e6e2db26bab0374bcca9b0fd4e0b008a7c 100644 --- a/bin/steps/django +++ b/bin/steps/collectstatic @@ -6,8 +6,6 @@ indent() { [ $(uname) == "Darwin" ] && sed -l "$RE" || sed -u "$RE" } -SETTINGS_FILE=$(find . -maxdepth 3 -type f -name 'settings.py' | head -1) -PROJECT=$(dirname $SETTINGS_FILE) MANAGE_FILE=$(find . -maxdepth 3 -type f -name 'manage.py' | head -1) MANAGE_FILE=${MANAGE_FILE:2}