From 5383c783f901a6107f9eafaac22fd2398cfca02e Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Tue, 17 Nov 2020 15:10:47 -0500 Subject: [PATCH] make targets running npm .PHONY Signed-off-by: Sebastian Malton --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a1970bee5d..8dcef26c2e 100644 --- a/Makefile +++ b/Makefile @@ -12,8 +12,9 @@ endif binaries/client: yarn download-bins +.PHONY: node_modules node_modules: - yarn install --frozen-lockfile --verbose + yarn install --frozen-lockfile yarn check --verify-tree --integrity static/build/LensDev.html: @@ -63,9 +64,11 @@ else yarn dist endif +.PHONY: $(extension_node_modules) $(extension_node_modules): cd $(@:/node_modules=) && npm install --no-audit --no-fund +.PHONY: $(extension_dists) $(extension_dists): src/extensions/npm/extensions/dist cd $(@:/dist=) && npm run build