summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-09-03 10:13:28 +0200
committerJulius Härtl <jus@bitgrid.net>2019-09-03 10:13:28 +0200
commit63626f593e3447963308b3e20016d51bdeec3941 (patch)
tree0d6d8ed63704fc980a96fcc5df9bd3851e575998 /Makefile
parent50769b5966c2c7b324ed5ab46919b756dc7b15c2 (diff)
downloadnextcloud-server-63626f593e3447963308b3e20016d51bdeec3941.tar.gz
nextcloud-server-63626f593e3447963308b3e20016d51bdeec3941.zip
Add clean-git target to makefile
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 16 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4f777066cc1..67077602634 100644
--- a/Makefile
+++ b/Makefile
@@ -27,11 +27,23 @@ clean:
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/systemtags/js/systemtags.*
rm -rf apps/twofactor_backupcodes/js
- rm -rf apps/updatenotification/js/updatenotification.js
- rm -rf apps/updatenotification/js/updatenotification.map
+ rm -rf apps/updatenotification/js/updatenotification.*
rm -rf apps/workflowengine/js/
rm -rf core/js/dist
rm -rf settings/js/vue-*
+
+clean-git: clean
+ git checkout -- apps/accessibility/js/
+ git checkout -- apps/comments/js/
+ git checkout -- apps/files_sharing/js/dist/
+ git checkout -- apps/files_trashbin/js/
+ git checkout -- apps/files_versions/js/
+ git checkout -- apps/oauth2/js/
+ git checkout -- apps/systemtags/js/systemtags.*
+ git checkout -- apps/twofactor_backupcodes/js
+ git checkout -- apps/updatenotification/js/updatenotification.*
+ git checkout -- apps/workflowengine/js/
+ git checkout -- core/js/dist
+ git checkout -- settings/js/vue-*