aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBradley Taunt <brad@serpapi.com>2024-01-17 13:09:26 -0500
committerBradley Taunt <brad@serpapi.com>2024-01-17 13:09:26 -0500
commite19f5e293b93835387dd7173a511e687187e972a (patch)
tree0d3a767df1926610bb42af1e66bf01385f0d6e0b /Makefile
Initial commit on self hosted 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