Commit | Line | Data |
---|---|---|
385e7ebe MM |
1 | .PHONY: style-check test |
2 | ||
3 | style-check: | |
e0056129 | 4 | flake8 --max-complexity 6 ./diaspy/ |
385e7ebe MM |
5 | |
6 | test: | |
7 | python3 -m unittest --verbose --catch --failfast tests.py | |
62f1912f MM |
8 | |
9 | test-python2: | |
e2c48b2f | 10 | python2 -m unittest --verbose --catch --failfast tests |
beaa09fb MM |
11 | |
12 | clean: | |
1e578db9 | 13 | rm -v ./{diaspy/,}*.pyc |
cf6a800f | 14 | rm -rv ./{diaspy/,}__pycache__/ |
75a456f4 MM |
15 | |
16 | install: | |
17 | python setup.py install | |
18 | rm -rvf dist/ | |
19 | rm -rvf diaspy.egg-info |