Exclude files for deployment

Remove deprecated Hakyll files
This commit is contained in:
Fabien Freling 2019-06-10 22:44:07 +02:00
parent 4190f85a2b
commit 5d38e08010
3 changed files with 8 additions and 86 deletions

View file

@ -1,12 +1,5 @@
TARGET=site
all: site.hs
ghc $< -o ${TARGET}
build: all
./${TARGET} build
tup:
rm -rf preview
tup build
preview: tup
@ -14,9 +7,14 @@ preview: tup
cp -r build preview
rm -f preview/tup.config
clean:
git nuke
graph:
tup graph . | dot -Tpng > graph.png
deploy: tup
rsync --checksum -ave 'ssh -p 4242' \
deploy: clean tup
rsync --checksum --copy-links -ave 'ssh -p 4242' \
--exclude=templates \
--exclude=tup* \
build/* fab@ffreling.com:public_html/ffreling.com/public/