Add preview build
This is done to avoid issues with symbolic links
This commit is contained in:
parent
b499d10185
commit
503cf14613
3 changed files with 7 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -7,3 +7,5 @@ site
|
||||||
/build/*
|
/build/*
|
||||||
!/build/tup.config
|
!/build/tup.config
|
||||||
graph.png
|
graph.png
|
||||||
|
|
||||||
|
/preview
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -9,10 +9,13 @@ build: all
|
||||||
tup:
|
tup:
|
||||||
tup build
|
tup build
|
||||||
|
|
||||||
|
preview: tup
|
||||||
|
cp -r build preview
|
||||||
|
rm -f preview/tup.config
|
||||||
|
|
||||||
graph:
|
graph:
|
||||||
tup graph . | dot -Tpng > graph.png
|
tup graph . | dot -Tpng > graph.png
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
rsync --checksum -ave 'ssh -p 4242' \
|
rsync --checksum -ave 'ssh -p 4242' \
|
||||||
build/* fab@ffreling.com:public_html/ffreling.com/public/
|
build/* fab@ffreling.com:public_html/ffreling.com/public/
|
||||||
|
|
||||||
|
|
2
Tupfile
2
Tupfile
|
@ -8,4 +8,4 @@
|
||||||
%f --output=%o \
|
%f --output=%o \
|
||||||
|> %B.html
|
|> %B.html
|
||||||
|
|
||||||
:foreach favicon.png |> !tup_preserve |>
|
: favicon.png |> !tup_preserve |>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue