From acffe1eea8ed015e26cc6e9178e3b4bc9ab8bb96 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 2 Jan 2017 16:24:38 -0500 Subject: oops --- git-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-setup b/git-setup index e968cf5..775c7ae 100755 --- a/git-setup +++ b/git-setup @@ -2,5 +2,5 @@ set -e cd "$(dirname -- "$(readlink -f -- "$0")")" if ! [[ -x .git/hooks/post-commit ]]; then - ln -sf bin/post-commit .git/hooks/post-commit + ln -srf bin/post-commit .git/hooks/post-commit fi -- cgit v1.2.3-2-g168b From 3c80bf7cc1bd61f8c9edf4806f1e57611ba29fdd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 2 Jan 2017 16:28:02 -0500 Subject: write a bit of HACKING.md --- HACKING.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/HACKING.md b/HACKING.md index 1333ed7..8783b0e 100644 --- a/HACKING.md +++ b/HACKING.md @@ -1 +1,13 @@ -TODO +Here's the gist: + + /src/ : website content + /bin/ : programs and such for generating the website from /src/ + /out/ : where the generated output goes + Makefile : invoke /bin/ as appropriate + git-setup : set up git hooks (see below) + +The web server should serve the union of /src/ and /out/. + +On `master`, /out/ is ignored. But `git-setup` will set up a git +post-commit hook to generate /out/, and commit it to the +`pre-generated` branch. -- cgit v1.2.3-2-g168b