Download & unzip theme from dl.gitea.io

This commit is contained in:
Matthias Loibl 2016-12-08 19:37:41 +01:00 committed by Thomas Boerger
parent 0211a448e3
commit 2fb65015ca
No known key found for this signature in database
GPG key ID: 5A388F55283960B6

View file

@ -13,7 +13,8 @@ build: $(THEME)
.PHONY: update .PHONY: update
update: $(THEME) update: $(THEME)
cd $(THEME) && git fetch --all --prune && git rebase origin/master
.PHONY: $(THEME)
$(THEME): $(THEME):
git clone https://github.com/go-gitea/theme.git $@ mkdir -p $@
curl https://dl.gitea.io/theme/master.tar.gz | tar xz -C $@