aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.xyz>2023-12-17 19:54:39 +0100
committerAdam Stück <adam@adast.xyz>2023-12-17 20:56:00 +0100
commit267ce378e2cdfb1e72dcfcd05c8d4b69da9c79cb (patch)
tree3616fba7a5550068ec33ded9318d4d51098917a4 /Makefile
parent5aa9d9038919533481e10976f3f7f9c90531a81a (diff)
overhaul: switch from ssg to barf
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b16a580
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+build:
+ sh ./barf
+ rsync -r public/ build/public
+
+clean:
+ rm -rf build/*
+
+watch:
+ while true; do \
+ ls -d .git/* * posts/* pages/* header.html | entr -cd make ;\
+ done
+
+.PHONY: build clean watch