THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 483B

123456789101112131415161718192021222324252627282930
  1. THEME := themes/gitea
  2. PUBLIC := public
  3. ARCHIVE := https://dl.gitea.io/theme/master.tar.gz
  4. .PHONY: all
  5. all: build
  6. .PHONY: clean
  7. clean:
  8. rm -rf $(PUBLIC) $(THEME)
  9. .PHONY: trans-copy
  10. trans-copy:
  11. @bash scripts/trans-copy
  12. .PHONY: server
  13. server: $(THEME)
  14. hugo server
  15. .PHONY: build
  16. build: $(THEME)
  17. hugo --cleanDestinationDir
  18. .PHONY: update
  19. update: $(THEME)
  20. $(THEME): $(THEME)/theme.toml
  21. $(THEME)/theme.toml:
  22. mkdir -p $$(dirname $@)
  23. curl -s $(ARCHIVE) | tar xz -C $$(dirname $@)