Exclude files for deployment
Remove deprecated Hakyll files
This commit is contained in:
parent
4190f85a2b
commit
5d38e08010
3 changed files with 8 additions and 86 deletions
18
Makefile
18
Makefile
|
@ -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/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue