aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 789183d..6315bd4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,13 @@
+all: clean build deploy
+
build:
./blarg
- # rsync -r public/ build/public
clean:
rm -rf build/*
-
-watch:
- while true; do \
- ls -d .git/* * posts/* pages/* header.html | entr -cd make ;\
- done
-
+ rm site.tar.gz
deploy:
- rsync -arv --exclude '*.tsv' ~/Git/blarg/build/ ~/Git/pages/
+ tar -C build -cvz . > site.tar.gz
+ hut pages publish -d justine.smithies.me.uk site.tar.gz
-.PHONY: build clean watch deploy
+.PHONY: build clean deploy