Fix broken Gravatar profile image (#86)
[mygpo.git] / makefile
blob852771ecded1fadf7f6e51c92f60f943c7f7f063
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/ pytest --cov=mygpo/ --cov-branch
9 coverage report --show-missing
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/*
16 notebook:
17 envdir envs/dev/ python manage.py shell_plus --notebook
19 clean:
20 git clean -fX
22 install-deps:
23 sudo apt-get install libpq-dev libjpeg-dev zlib1g-dev libwebp-dev \
24 build-essential python3-dev virtualenv libffi-dev
27 .PHONY: all help test clean unittest coverage install-deps