website/Makefile
2019-06-10 22:21:23 +02:00

23 lines
329 B
Makefile

TARGET=site
all: site.hs
ghc $< -o ${TARGET}
build: all
./${TARGET} build
tup:
tup build
preview: tup
rm -rf preview
cp -r build preview
rm -f preview/tup.config
graph:
tup graph . | dot -Tpng > graph.png
deploy: tup
rsync --checksum -ave 'ssh -p 4242' \
build/* fab@ffreling.com:public_html/ffreling.com/public/