website/Makefile
2016-11-10 12:01:21 +01:00

20 lines
315 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)
cd $(THEME) && git fetch --all --prune && git rebase origin/master
$(THEME):
git clone https://github.com/go-gitea/theme.git $@