From adf5c952c367395d4b81b5ea2d7285c41ab64617 Mon Sep 17 00:00:00 2001 From: fieg Date: Mon, 29 Nov 2021 21:15:08 +0100 Subject: [PATCH] improved up and update targets --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e698b74a..3f7d6b3a 100644 --- a/Makefile +++ b/Makefile @@ -5,13 +5,15 @@ SEMVER=prerelease --preid=beta EXAMPLES=$(dir $(wildcard examples/*/package.json)) install: - npm install + npm ci npm run build - $(foreach ex,$(EXAMPLES),(cd $(ex) && npm install && npm run link && npm run build) || exit $$?;) + $(foreach ex,$(EXAMPLES),(cd $(ex) && npm ci && npm run link && npm run build) || exit $$?;) .PHONY: install update: - $(foreach ex,$(EXAMPLES),(cd $(ex) && npm update) || exit $$?;) + npm ci + npm run build + $(foreach ex,$(EXAMPLES),(cd $(ex) && npm ci) || exit $$?;) .PHONY: update up: