Skip to content

Commit

Permalink
allow args to be overridden
Browse files Browse the repository at this point in the history
  • Loading branch information
osterman committed May 5, 2018
1 parent 31af665 commit ccd3d26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export INSTALL_PATH ?= /usr/local/bin
export HUGO ?= hugo
export HUGO_URL ?= http://localhost.cloudposse.com:1313/
export HUGO_ARGS ?= --watch --buildDrafts

-include $(shell curl -sSL -o .build-harness "https://git.io/build-harness"; echo .build-harness)

Expand All @@ -12,7 +13,7 @@ open:

## Start the hugo server for live editing
run:
@$(HUGO) server --watch --buildDrafts
@$(HUGO) server $(HUGO_ARGS)

## Generate all static content (outputs to public/)
build:
Expand Down

0 comments on commit ccd3d26

Please sign in to comment.