From 5315cadf280ec3e4f9b26e6d8015e6fb7ecf0c7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Freitag?= Date: Sat, 20 Feb 2021 20:14:48 +0100 Subject: [PATCH] Remove Makefile rule clean-dev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From npm ci docs https://docs.npmjs.com/cli/v7/commands/npm-ci: If a node_modules is already present, it will be automatically removed before npm ci begins its install. Unnecessary since b595d86e96a518c36c1889a338053512ffbb13fa. Signed-off-by: François Freitag --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b0bfa14d1b..1620712c86 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: clean dev-setup build-js-production # Dev env management -dev-setup: clean clean-dev npm-init +dev-setup: clean npm-init npm-init: npm ci @@ -43,9 +43,6 @@ clean: rm -rf apps/workflowengine/js/ rm -rf core/js/dist -clean-dev: - rm -rf node_modules - clean-git: clean git checkout -- apps/accessibility/js/ git checkout -- apps/comments/js/