Add preview build

This is done to avoid issues with symbolic links
This commit is contained in:
Fabien Freling 2019-06-10 21:51:04 +02:00
parent b499d10185
commit 503cf14613
3 changed files with 7 additions and 2 deletions

View file

@ -9,10 +9,13 @@ build: all
tup:
tup build
preview: tup
cp -r build preview
rm -f preview/tup.config
graph:
tup graph . | dot -Tpng > graph.png
deploy:
rsync --checksum -ave 'ssh -p 4242' \
build/* fab@ffreling.com:public_html/ffreling.com/public/