website/Makefile
2019-06-12 14:25:56 +02:00

22 lines
340 B
Makefile

all: tup
tup:
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/