Browse Source

Add make clean

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
John Molakvoæ (skjnldsv) 4 years ago
parent
commit
fc28044304
1 changed files with 16 additions and 1 deletions
  1. 16 1
      Makefile

+ 16 - 1
Makefile

@@ -1,4 +1,4 @@
-all: dev-setup build-js-production
+all: clean dev-setup build-js-production
 
 dev-setup: clean-dev npm-init
 
@@ -20,3 +20,18 @@ watch-js:
 clean-dev:
 	rm -rf node_modules
 
+clean:
+	rm -rf apps/accessibility/js/
+	rm -rf apps/comments/js/
+	rm -rf apps/files_sharing/js/dist/
+	rm -rf apps/files_trashbin/js/
+	rm -rf apps/files_versions/js/
+	rm -rf apps/oauth2/js/
+	rm -rf apps/systemtags/js/systemtags.js
+	rm -rf apps/systemtags/js/systemtags.map
+	rm -rf apps/twofactor_backupcodes/js
+	rm -rf apps/updatenotification/js/updatenotification.js
+	rm -rf apps/updatenotification/js/updatenotification.map
+	rm -rf apps/workflowengine/js/
+	rm -rf core/js/dist
+	rm -rf settings/js/vue-*