Download & unzip theme from dl.gitea.io

This commit is contained in:
Matthias Loibl 2016-12-08 19:38:19 +01:00
parent a20ac6045c
commit 0de2ca0d91
No known key found for this signature in database
GPG Key ID: B1C7DF661ABB2C1A
1 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,8 @@ build: $(THEME)
.PHONY: update
update: $(THEME)
cd $(THEME) && git fetch --all --prune && git rebase origin/master
.PHONY: $(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 $@