website/Makefile

21 lines
346 B
Makefile
Raw Normal View History

2019-06-09 16:02:38 +02:00
tup:
rm -rf preview
2019-06-09 16:02:38 +02:00
tup build
preview: tup
2019-06-10 22:21:23 +02:00
rm -rf preview
cp -r build preview
rm -f preview/tup.config
clean:
git nuke
2019-06-09 16:02:38 +02:00
graph:
tup graph . | dot -Tpng > graph.png
deploy: clean tup
rsync --checksum --copy-links -ave 'ssh -p 4242' \
--exclude=templates \
--exclude=tup* \
2019-06-09 16:02:38 +02:00
build/* fab@ffreling.com:public_html/ffreling.com/public/