aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFrançois Freitag <mail@franek.fr>2021-02-20 20:14:48 +0100
committerFrançois Freitag <mail@franek.fr>2021-02-20 20:20:05 +0100
commit5315cadf280ec3e4f9b26e6d8015e6fb7ecf0c7d (patch)
tree23327e7f2b401e00babb420841137ae132661eb5 /Makefile
parentcad2369e0b0d9619b1c715e2912f68de07e7de1e (diff)
downloadnextcloud-server-5315cadf280ec3e4f9b26e6d8015e6fb7ecf0c7d.tar.gz
nextcloud-server-5315cadf280ec3e4f9b26e6d8015e6fb7ecf0c7d.zip
Remove Makefile rule clean-dev
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 <mail@franek.fr>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b0bfa14d1b1..1620712c86a 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/