diff --git a/Makefile b/Makefile index 7013b0a..b09ede0 100644 --- a/Makefile +++ b/Makefile @@ -2,5 +2,23 @@ env: virtualenv -p python3 env ./env/bin/pip install -r requirements.txt +.PHONY: run run: env ./env/bin/python -m minitor.main + +.PHONY: build +build: env + ./env/bin/python setup.py sdist + ./env/bin/python setup.py bdist_wheel + +.PHONY: upload +upload: env + ./env/bin/twine upload dist/* + +.PHONY: upload-test +upload-test: env + ./env/bin/twine upload --repository-url https://test.pypi.org/legacy/ dist/* + +.PHONY: clean +clean: + rm -fr ./build ./dist ./minitor.egg-info diff --git a/requirements-dev.txt b/requirements-dev.txt new file mode 100644 index 0000000..1599274 --- /dev/null +++ b/requirements-dev.txt @@ -0,0 +1,3 @@ +-r requirements.txt +twine +wheel