From 5598cba3907e3450a200e21589ee39ea3bf5819d Mon Sep 17 00:00:00 2001 From: Elton Law Date: Sat, 28 Sep 2019 22:13:08 -0400 Subject: [PATCH] [GH-90] add local build recipes --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5e3ed0d..351890d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,19 @@ DOCKER_ID_USER=eltonlaw .PHONY: all build test upload install docs -all: test +all: test-local + +install-local: + cd $(IMPYUTE_ROOT) && python setup.py develop + +uninstall-local: + cd $(IMPYUTE_ROOT) && python setup.py develop --uninstall + +test-local: + cd $(IMPYUTE_ROOT) && pytest + +clean: + find . -type f -name '*.pyc' -delete rebuild-pybase: docker rmi -f $(DOCKER_ID_USER)/pybase