add --fail to curl
This commit is contained in:
@@ -32,4 +32,4 @@ ci-node-generate: pull-assets
|
|||||||
.PHONY: pull-assets
|
.PHONY: pull-assets
|
||||||
pull-assets:
|
pull-assets:
|
||||||
@git clean -xfd 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/
|
||||||
|
|||||||
+2
-2
@@ -42,13 +42,13 @@ LOGO_URL = https://raw.githubusercontent.com/owncloud/assets/main/logo.svg
|
|||||||
|
|
||||||
.PHONY: assets/identifier/static/logo.svg # force overwrite
|
.PHONY: assets/identifier/static/logo.svg # force overwrite
|
||||||
assets/identifier/static/logo.svg:
|
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
|
FAVICON_URL = https://raw.githubusercontent.com/owncloud/assets/main/favicon.ico
|
||||||
|
|
||||||
.PHONY: assets/identifier/static/favicon.ico # force overwrite
|
.PHONY: assets/identifier/static/favicon.ico # force overwrite
|
||||||
assets/identifier/static/favicon.ico:
|
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
|
.PHONY: yarn-build
|
||||||
yarn-build: node_modules
|
yarn-build: node_modules
|
||||||
|
|||||||
+1
-1
@@ -33,4 +33,4 @@ ci-node-generate: pull-assets
|
|||||||
.PHONY: pull-assets
|
.PHONY: pull-assets
|
||||||
pull-assets:
|
pull-assets:
|
||||||
@git clean -xfd 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