1
Fork 0

Use `set -x` rather than echoing progress

This commit is contained in:
Jake Howard 2020-04-25 15:40:59 +01:00
parent 48cfaf8025
commit fdcc881f81
Signed by: jake
GPG Key ID: 57AFB45680EDD477
1 changed files with 2 additions and 7 deletions

View File

@ -1,26 +1,21 @@
#!/usr/bin/env bash
set -e
export PATH=env/bin:node_modules/.bin:${PATH}
set -ex
coverage run --source=website manage.py test $@
coverage report
coverage html
echo "> Running formatter..."
black website/ --check
echo "> Running linter..."
flake8 website/
echo "> Running isort..."
isort -rc -c website/
echo "> Running type checker..."
mypy website/
echo "> Running eslint..."
eslint static/src/js