From a44bb8ef5d9dcdc6708403a96c5c27076d6ec606 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Mon, 7 Jul 2014 14:02:12 -0400 Subject: Add Makefile for testing and publishing --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8b2eb2b --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +test: + @cd tests && PYTHONPATH=../ py.test + +publish-test: + @python setup.py sdist upload -r pypi + @python setup.py bdist_wheel upload -r pypi + +publish-pypi: + @python setup.py sdist upload -r pypi + @python setup.py bdist_wheel upload -r pypi + +.PHONY: test publish-test publish-pypi -- cgit v1.2.3