Fix loading of conext-dependant Django middleware
[mygpo.git] / makefile
blobb38b67f0432efe9b0f30c8ee7218114b43810a5d
1 all: help
3 help:
4 @echo 'make test run tests and show coverage report'
5 @echo 'make clean clean up files'
7 test:
8 envdir envs/dev/ python -Wd -m coverage run ./manage.py test
9 coverage report
11 update-po:
12 envdir envs/dev/ python manage.py makemessages \
13 --ignore=doc/* --ignore=envs/* --ignore=htdocs/* --ignore=venv/* \
14 --ignore=res/* --ignore=tools/* --ignore=mygpo/*/migrations/*
17 clean:
18 git clean -fX
20 install-deps:
21 sudo apt-get install libpq-dev libjpeg-dev zlib1g-dev libwebp-dev \
22 build-essential python3-dev virtualenv
25 .PHONY: all help test clean unittest coverage install-deps