Update readme and pre-commit

This commit is contained in:
Jan Tuomi
2017-11-25 21:56:07 +02:00
parent ec6051d3d6
commit 2b2d635cb0
4 changed files with 1930 additions and 8 deletions
+7 -1
View File
@@ -1,4 +1,10 @@
set -e
PURPLE='\033[0;35m'
NC='\033[0m' # No Color
printf "${PURPLE}Running pre-commit tests.${NC}\n"
npm test
python manage.py test
python manage.py test --noinput
set +e
printf "${PURPLE}Tests passed.${NC}\n"