remove coffee_scale

This commit is contained in:
Aarni Halinen
2021-03-29 00:55:52 +03:00
parent 6567cd87d5
commit 06fcfcf3a1
15 changed files with 0 additions and 407 deletions
-25
View File
@@ -1,25 +0,0 @@
#!/bin/bash
PURPLE='\033[0;35m'
NC='\033[0m' # No Color
. "${VIRTUAL_ENV}/bin/activate"
if [ $? -ne 0 ]
then
printf "${PURPLE}Failed to find virtualenv. Skipping pre-push hook.\n${NC}"
exit 0
fi
set -e
printf "${PURPLE}Running pre-push tests.${NC}\n"
printf "${PURPLE}npm tests...${NC}\n"
npm test
printf "${PURPLE}pycodestyle tests...${NC}\n"
pycodestyle .
printf "${PURPLE}unit tests...${NC}\n"
python -Wall manage.py test --noinput
set +e
printf "${PURPLE}Tests passed.${NC}\n"