From 503cf14613c86777eabf65cdac992fcc8e36960a Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Mon, 10 Jun 2019 21:51:04 +0200 Subject: [PATCH] Add preview build This is done to avoid issues with symbolic links --- .gitignore | 2 ++ Makefile | 5 ++++- Tupfile | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index dbf684c..b43cb21 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ site /build/* !/build/tup.config graph.png + +/preview diff --git a/Makefile b/Makefile index a96220c..475d156 100644 --- a/Makefile +++ b/Makefile @@ -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/ - diff --git a/Tupfile b/Tupfile index 1c9c14b..600b55e 100644 --- a/Tupfile +++ b/Tupfile @@ -8,4 +8,4 @@ %f --output=%o \ |> %B.html -:foreach favicon.png |> !tup_preserve |> +: favicon.png |> !tup_preserve |>