summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Jon Bernard <jbernard@tuxion.com> 2014-07-07 14:02:12 -0400
committerGravatar Jon Bernard <jbernard@tuxion.com> 2014-07-07 14:02:12 -0400
commita44bb8ef5d9dcdc6708403a96c5c27076d6ec606 (patch)
treef1d63fde7eb6916c832da1761b739ed2ecd2dd98
parent5abf9f05cecc6395fe928c80cdb551daf23bd248 (diff)
downloaddotfiles-a44bb8ef5d9dcdc6708403a96c5c27076d6ec606.tar.gz
dotfiles-a44bb8ef5d9dcdc6708403a96c5c27076d6ec606.tar.bz2
dotfiles-a44bb8ef5d9dcdc6708403a96c5c27076d6ec606.zip
Add Makefile for testing and publishing
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
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