clean up asset folder with git clean command instead of hard deletion
This commit is contained in:
+2
-1
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user