aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-19 09:02:37 -0500
committerBradley Taunt <bt@btxx.org>2024-01-19 09:02:37 -0500
commit886271bb3b9a07295ecf7c6c8878fb52bdeff9b4 (patch)
tree0a970c59d236acc018248edd5ff3eb37442c0602 /Makefile
Initial commit for cgit platform
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