From 86036a65730d34e83001e4d38f65b9ba01cbef42 Mon Sep 17 00:00:00 2001 From: Roger Light Date: Thu, 1 May 2014 13:14:29 +0100 Subject: [PATCH] Add upload target that runs tests first. Change-Id: Id5e235e166436539ed4d12b7f70c491dc09fd16d --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5