From fc28044304af708b6ddf7a774d4f12b1cb92a8b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 19 Jun 2019 13:53:28 +0200 Subject: [PATCH] Add make clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- Makefile | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7e6b37af669c3..4f777066cc100 100644 --- a/Makefile +++ b/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-*