]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add clean-git target to makefile 16975/head
authorJulius Härtl <jus@bitgrid.net>
Tue, 3 Sep 2019 08:13:28 +0000 (10:13 +0200)
committerJulius Härtl <jus@bitgrid.net>
Tue, 3 Sep 2019 08:13:28 +0000 (10:13 +0200)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Makefile

index 4f777066cc1006d9c6edc7f1682bee9d56834a24..6707760263499ea4bb64c3c23550c79bd3ae53e6 100644 (file)
--- 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-*