From: Roger Light Date: Thu, 1 May 2014 12:14:29 +0000 (+0100) Subject: Add upload target that runs tests first. X-Git-Tag: v0.9~1 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=86036a65730d34e83001e4d38f65b9ba01cbef42;p=packages%2Fp%2Fpaho-mqtt.git Add upload target that runs tests first. Change-Id: Id5e235e166436539ed4d12b7f70c491dc09fd16d --- diff --git a/Makefile b/Makefile index e4f367d..69e6c9b 100644 --- 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