Makefile 267 B

123456789101112
  1. HUGO_BIN=hugo
  2. .PHONY: build demo release
  3. build:
  4. $(HUGO_BIN) --themesDir=../.. --source=exampleSite
  5. demo:
  6. $(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite --bind 0.0.0.0
  7. release: build
  8. rm -rf ./resources && cp -r ./exampleSite/resources ./resources