Skip to content

Commit

Permalink
clean up asset folder with git clean command instead of hard deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
wkloucek committed Nov 16, 2021
1 parent ab502c8 commit 33d9a11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions graph-explorer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
3 changes: 1 addition & 2 deletions ocs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
3 changes: 2 additions & 1 deletion web/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 33d9a11

Please sign in to comment.