clean up asset folder with git clean command instead of hard deletion

This commit is contained in:
Willy Kloucek
2021-11-16 10:19:15 +01:00
parent ab502c8a99
commit 33d9a1171d
3 changed files with 5 additions and 5 deletions
+2 -1
View File
@@ -33,4 +33,5 @@ WEB_ASSETS_VERSION = v4.4.0
.PHONY: pull-assets
pull-assets:
@rm -Rf assets && mkdir assets/ && curl -slL -o- https://github.com/owncloud/web/releases/download/$(WEB_ASSETS_VERSION)/web.tar.gz | tar xzf - -C assets/
@git clean -xfd assets
@curl -slL -o- https://github.com/owncloud/web/releases/download/$(WEB_ASSETS_VERSION)/web.tar.gz | tar xzf - -C assets/