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

View File

@@ -31,5 +31,5 @@ ci-node-generate: pull-assets
.PHONY: pull-assets
pull-assets:
@rm -Rf assets && mkdir assets/ && curl -slL -o- https://github.com/owncloud/graph-explorer/releases/download/v1.7.10.3/release.tar.gz | tar xvzf - -C assets/
@git clean -xfd assets
@curl -slL -o- https://github.com/owncloud/graph-explorer/releases/download/v1.7.10.3/release.tar.gz | tar xvzf - -C assets/

View File

@@ -28,5 +28,4 @@ ci-go-generate: # CI runs ci-node-generate automatically before this target
@go generate ./...
.PHONY: ci-node-generate
ci-node-generate:
@make -C ../accounts ci-node-generate
ci-node-generate:

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/