site.lyte.dev/makefile

9 lines
310 B
Makefile
Raw Normal View History

.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