Pull oC logo and favicon

This commit is contained in:
Lukas Hirt
2020-10-19 11:41:58 +02:00
parent 970ef7c81f
commit e1cdb36692
2 changed files with 126 additions and 843 deletions
+9 -1
View File
@@ -24,6 +24,10 @@ GENERATE ?= $(PACKAGES)
TAGS ?=
# Assets
LOGO_URL = https://raw.githubusercontent.com/owncloud/assets/main/logo.svg
FAVICON_URL = https://raw.githubusercontent.com/owncloud/assets/main/favicon.ico
ifndef OUTPUT
ifneq ($(DRONE_TAG),)
OUTPUT ?= $(subst v,,$(DRONE_TAG))
@@ -77,9 +81,13 @@ lint:
for PKG in $(PACKAGES); do go run golang.org/x/lint/golint -set_exit_status $$PKG || exit 1; done;
.PHONY: generate
generate:
generate: assets
go generate $(GENERATE)
assets:
curl -o assets/identifier/static/logo.svg ${LOGO_URL}
curl -o assets/identifier/static/favicon.ico ${LOGO_URL}
.PHONY: changelog
changelog:
go run github.com/restic/calens >| CHANGELOG.md
File diff suppressed because one or more lines are too long