site.lyte.dev/makefile

9 lines
242 B
Makefile

.PHONY: all default build dev publish publish-prod
build: ; hugo
public: build
dev: ; hugo serve --buildDrafts
all: build
clean: ; rm -r public
publish: public ; netlify deploy -d public
publish-prod: public ; netlify deploy -d public --prod