mirror of
https://gitea.com/gitea/website.git
synced 2024-06-02 08:11:23 +05:30
21 lines
286 B
Makefile
21 lines
286 B
Makefile
THEME := themes/gitea
|
|
|
|
.PHONY: all
|
|
all: build
|
|
|
|
.PHONY: server
|
|
server: $(THEME)
|
|
hugo server
|
|
|
|
.PHONY: build
|
|
build: $(THEME)
|
|
hugo --cleanDestinationDir
|
|
|
|
.PHONY: update
|
|
update: $(THEME)
|
|
|
|
.PHONY: $(THEME)
|
|
$(THEME):
|
|
mkdir -p $@
|
|
curl https://dl.gitea.io/theme/master.tar.gz | tar xz -C $@
|