Makefile
raw| 1 | test: |
| 2 | docker-compose build test |
| 3 | docker-compose run test |
| 4 | |
| 5 | local_test: |
| 6 | PYTHONPATH=. pytest tests/ |
| 7 | |
| 8 | lint: |
| 9 | pip install pylint |
| 10 | pylint bumpversion |
| 11 | |
| 12 | debug_test: |
| 13 | docker-compose build test |
| 14 | docker-compose run test /bin/bash |
| 15 | |
| 16 | clean: |
| 17 | rm -rf dist build *.egg-info |
| 18 | |
| 19 | dist: clean |
| 20 | python setup.py sdist bdist_wheel |
| 21 | |
| 22 | upload: |
| 23 | twine upload dist/* |
| 24 | |
| 25 | .PHONY: dist upload test debug_test |