mirror of
https://github.com/owncloud/ocis.git
synced 2026-10-23 23:29:02 +03:00
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
SHELL := bash
|
|
NAME := idp
|
|
|
|
include ../../.make/recursion.mk
|
|
|
|
############ tooling ############
|
|
ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
|
|
include ../../.bingo/Variables.mk
|
|
endif
|
|
|
|
############ go tooling ############
|
|
include ../../.make/go.mk
|
|
|
|
############ release ############
|
|
include ../../.make/release.mk
|
|
|
|
############ generate ############
|
|
include ../../.make/generate.mk
|
|
|
|
FAVICON_URL = https://raw.githubusercontent.com/owncloud/assets/main/favicon.ico
|
|
|
|
assets/identifier/static:
|
|
mkdir -p assets/identifier/static
|
|
|
|
.PHONY: assets/identifier/static/favicon.ico # force overwrite
|
|
assets/identifier/static/favicon.ico:
|
|
curl --fail -o assets/identifier/static/favicon.ico ${FAVICON_URL}
|
|
|
|
.PHONY: ci-go-generate
|
|
ci-go-generate: # CI runs ci-node-generate automatically before this target
|
|
|
|
.PHONY: ci-node-generate
|
|
ci-node-generate:
|
|
|
|
.PHONY: ci-node-check-licenses
|
|
ci-node-check-licenses:
|
|
|
|
.PHONY: ci-node-save-licenses
|
|
ci-node-save-licenses:
|
|
|
|
.PHONY: assets
|
|
assets:
|
|
@mkdir -p assets/identifier/static
|
|
|