Skip to content
Snippets Groups Projects
Commit 117dcff4 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

collectstatic always

parent 7243afd5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment