website/Makefile

21 lines
346 B
Makefile

tup:
rm -rf preview
tup build
preview: tup
rm -rf preview
cp -r build preview
rm -f preview/tup.config
clean:
git nuke
graph:
tup graph . | dot -Tpng > graph.png
deploy: clean tup
rsync --checksum --copy-links -ave 'ssh -p 4242' \
--exclude=templates \
--exclude=tup* \
build/* fab@ffreling.com:public_html/ffreling.com/public/