2020-07-14 17:32:23 -05:00
|
|
|
.PHONY: all default build dev publish publish-prod
|
2020-07-14 18:02:25 -05:00
|
|
|
build: ; @hugo
|
2020-07-14 16:51:25 -05:00
|
|
|
public: build
|
2020-07-14 18:02:25 -05:00
|
|
|
dev: ; @hugo serve --buildDrafts
|
2020-07-14 16:51:25 -05:00
|
|
|
all: build
|
2020-07-14 18:02:25 -05:00
|
|
|
clean: ; @rm -r public
|
|
|
|
publish: public ; @netlify deploy -d public && echo "You can run \`make publish-prod\` when you're ready."
|
|
|
|
publish-prod: public ; @netlify deploy -d public --prod
|