blob: 31bf97887895c79c1f8b2db258d782b4518bb915 [file] [log] [blame]
Aaron Ilesc18d6942013-01-06 13:12:00 +11001SHELL := /bin/bash
2
3deps:
Aaron Iles6318d8d2013-05-29 22:01:09 +10004 pip install --upgrade \
Aaron Ilesc18d6942013-01-06 13:12:00 +11005 -r requirements/development.txt \
6 -r requirements/production.txt
7
8sdist:
9 python setup.py sdist
10
Aaron Iles4ea7e192013-01-06 23:11:27 +110011register:
12 python setup.py register
Aaron Ilesc18d6942013-01-06 13:12:00 +110013
14site:
15 cd docs; make html
16
17test:
18 coverage run setup.py test
19
20unittest:
21 coverage run -m unittest discover
22
23lint:
24 flake8 --exit-zero funcsigs tests
25
26coverage:
27 coverage report --show-missing --include="funcsigs*"
28
29clean:
30 python setup.py clean --all
31 find . -type f -name "*.pyc" -exec rm '{}' +
32 find . -type d -name "__pycache__" -exec rmdir '{}' +
33 rm -rf *.egg-info .coverage
34 cd docs; make clean
35
36docs: site