]> git.michaelhowe.org Git - packages/p/paho-mqtt.git/commitdiff
Add upload target that runs tests first.
authorRoger Light <roger@atchoo.org>
Thu, 1 May 2014 12:14:29 +0000 (13:14 +0100)
committerRoger Light <roger@atchoo.org>
Thu, 1 May 2014 12:14:29 +0000 (13:14 +0100)
Change-Id: Id5e235e166436539ed4d12b7f70c491dc09fd16d

Makefile

index e4f367d94fbac86d2d3517ee9f1787735cedde20..69e6c9b5bda5ac26b0709fb55d97b835f93a02ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # Set DESTDIR if it isn't given
 DESTDIR?=/
 
-.PHONY : all clean install test python python3
+.PHONY : all clean install test python python3 upload
 
 all :
        python ./setup.py build
@@ -19,3 +19,6 @@ python3 :
        $(MAKE) -C test python3
 
 test : python python3
+
+upload : test
+       python ./setup.py sdist upload