website/Makefile
2019-10-28 13:24:42 +01:00

21 lines
393 B
Makefile

all: tup
tup:
tup build
clean:
cd build && git nuke
graph:
tup graph . | dot -Tpng > graph.png
deploy: clean tup
rsync --checksum --copy-links -ave 'ssh -p 4242' \
--exclude-from=rsync_excludes.txt \
build/* fab@ffreling.com:public_html/ffreling.com/public/
preview: tup
rsync --checksum --copy-links -ave 'ssh -p 4242' \
--exclude-from=rsync_excludes.txt \
build/* preview/