From ba85e6047c2dd97ec4fe3100108383c6fb56ab97 Mon Sep 17 00:00:00 2001 From: Bastien Abadie <bastien@nextcairn.com> Date: Fri, 18 May 2018 15:43:20 +0200 Subject: [PATCH] Cleanup before build --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b0cbd47254..885ec3d649 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,11 @@ TAG=arkindex-backend .PHONY: build -build: +clean: + rm -rf *.egg-info build dist .eggs + find . -name '*.pyc' -exec rm {} \; + +build: clean docker build $(ROOT_DIR) -t $(TAG):$(VERSION) publish-version: require-docker-auth -- GitLab