Makefile
raw| 1 | clean: |
| 2 | rm -rf build |
| 3 | rm -rf dist |
| 4 | rm -rf python_digitalocean.egg-info |
| 5 | rm -rf .pytest_cache |
| 6 | .PHONY: clean |
| 7 | |
| 8 | dist: |
| 9 | python setup.py sdist bdist_wheel |
| 10 | |
| 11 | publish: dist |
| 12 | twine upload dist/* |
| 13 | .PHONY: publish |
| 14 | |
| 15 | publish_deps: |
| 16 | python -m pip install --upgrade pip |
| 17 | pip install setuptools wheel twine |
| 18 | .PHONY: publish_deps |
| 19 | |
| 20 | deps: |
| 21 | pip install -U -r requirements.txt |
| 22 | .PHONY: deps |
| 23 | |
| 24 | test: |
| 25 | python -m pytest |
| 26 | .PHONY: test |
| 27 |