mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-03 19:00:05 -06:00
add --fail to curl
This commit is contained in:
@@ -32,4 +32,4 @@ ci-node-generate: pull-assets
|
||||
.PHONY: pull-assets
|
||||
pull-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/
|
||||
@curl --fail -slL -o- https://github.com/owncloud/graph-explorer/releases/download/v1.7.10.3/release.tar.gz | tar xvzf - -C assets/
|
||||
|
||||
@@ -42,13 +42,13 @@ LOGO_URL = https://raw.githubusercontent.com/owncloud/assets/main/logo.svg
|
||||
|
||||
.PHONY: assets/identifier/static/logo.svg # force overwrite
|
||||
assets/identifier/static/logo.svg:
|
||||
curl -o assets/identifier/static/logo.svg ${LOGO_URL}
|
||||
curl --fail -o assets/identifier/static/logo.svg ${LOGO_URL}
|
||||
|
||||
FAVICON_URL = https://raw.githubusercontent.com/owncloud/assets/main/favicon.ico
|
||||
|
||||
.PHONY: assets/identifier/static/favicon.ico # force overwrite
|
||||
assets/identifier/static/favicon.ico:
|
||||
curl -o assets/identifier/static/favicon.ico ${FAVICON_URL}
|
||||
curl --fail -o assets/identifier/static/favicon.ico ${FAVICON_URL}
|
||||
|
||||
.PHONY: yarn-build
|
||||
yarn-build: node_modules
|
||||
|
||||
@@ -33,4 +33,4 @@ ci-node-generate: pull-assets
|
||||
.PHONY: pull-assets
|
||||
pull-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/
|
||||
@curl --fail -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