23 lines
336 B
Bash
Executable file
23 lines
336 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
|
|
export PATH=env/bin:node_modules/.bin:${PATH}
|
|
|
|
set -ex
|
|
|
|
coverage run --source=website manage.py test $@
|
|
|
|
coverage report
|
|
coverage html
|
|
|
|
black website/ --check
|
|
|
|
flake8 website/
|
|
|
|
isort -rc -c website/
|
|
|
|
mypy website/
|
|
|
|
eslint static/src/js
|
|
|
|
gunicorn --check-config -c website/gunicorn.conf.py website.wsgi:application
|