diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,14 +1,15 @@ HUGO ?= hugo PORT ?= 1314 +BASE_URL ?= http://localhost:1314/ .PHONY: build serve clean build: clean - $(HUGO) + $(HUGO) --baseURL "$(BASE_URL)" ./scripts/publish-raw serve: build - $(HUGO) server --disableFastRender --disableLiveReload --port $(PORT) + $(HUGO) server --disableFastRender --disableLiveReload --port $(PORT) --baseURL "http://localhost:$(PORT)/" clean: $(RM) -r public resources .hugo_build.lock |
