From 1f88282fec614d5d9e21a64d161c501221a13160 Mon Sep 17 00:00:00 2001 From: Alexander Early Date: Sat, 22 Jun 2019 22:27:48 -0700 Subject: [PATCH] separate clean from all --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 02460b65d..ec36a9114 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ $(A): $$(SRC_$(A)) endef $(foreach A,$(ALIAS_ES),$(eval $(COPY_ES_ALIAS))) -all: clean lint build test +all: lint build test test: npm test @@ -143,7 +143,9 @@ build: build-bundle build-dist build-es build-config build-es-config test-build .PHONY: test lint build all clean .PHONY: release-major release-minor release-patch release-prerelease -release-major release-minor release-patch release-prerelease: all +release-major release-minor release-patch release-prerelease: + $(MAKE) clean + $(MAKE) all npm ci # ensure dependencies are up to date (#1158) git add --force $(DIST) git commit -am "Update built files"; true