diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..4eca3cea --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +.PHONY: help clean dev docs package test + +help: + @echo "This project assumes that an active Python virtualenv is present." + @echo "The following make targets are available:" + @echo " dev install all deps for dev env" + @echo " docs create pydocs for all relveant modules" + @echo " test run all tests with coverage" + +clean: + rm -rf dist/* + +dev: + pip install twine + pip install . + +package: + python setup.py sdist + +test: + coverage run -m pytest + coverage html