21 lines
305 B
Makefile
21 lines
305 B
Makefile
TOP=stack exec website-exe
|
|
|
|
all:
|
|
stack build
|
|
|
|
check:
|
|
$(TOP) check
|
|
|
|
preview:
|
|
$(TOP) rebuild && (cd _site; python -m http.server)
|
|
|
|
deploy:
|
|
$(TOP) rebuild && $(TOP) deploy && $(TOP) check
|
|
|
|
install:
|
|
opam update && opam install bibtex2html
|
|
gem update --system && gem install compass
|
|
|
|
clean:
|
|
stack clean
|