justin-site/Makefile

17 lines
215 B
Makefile

TOP=stack exec website-exe
all:
stack build
check:
$(TOP) check
preview:
$(TOP) rebuild && (cd _site; python -m SimpleHTTPServer)
deploy:
$(TOP) rebuild && $(TOP) deploy && $(TOP) check
clean:
stack clean