2 Commits
Author SHA1 Message Date
sneak 704605659e README: list only template repos that exist (closes #153)
check / check (push) Successful in 23s
`template-app-js` and `template-app-python` do not exist on
git.eeqj.de. The Template Repos section now lists `template-app-go` and
`go-template-repo`, the two template repos kept in step with this repo.
The closing sentence restated the opening one and is gone.

Model: opus-5-5
2026-11-15 13:26:26 +00:00
clawbot 11245b85ca script/install-precommit: write the hook through $hook (closes #139)
check / check (push) Successful in 1m41s
The script set hook and then repeated the path literally, so shellcheck
reported the variable as unused (SC2034).

Model: opus-5-5
2026-11-15 14:23:52 +01:00
2 changed files with 7 additions and 8 deletions

No files matched your search

+5 -6
View File
@@ -179,15 +179,14 @@ by copying them into other projects or referencing them directly.
## Template Repos
This template repository implements the policies defined in this repo and serves
as a starting point for new projects. It must be kept in sync when policies
change.
These template repositories implement the policies defined in this repo and
serve as starting points for new projects. They must be kept in sync when
policies change.
- **[template-app-go](https://git.eeqj.de/sneak/template-app-go)** — Go HTTP
server template (Uber fx, chi, SQLite, session auth, Prometheus metrics)
When updating policies in this repo, also update the template repo to match
(Makefile targets, Dockerfile conventions, CI workflows, required files, etc.).
- **[go-template-repo](https://git.eeqj.de/clawbot/go-template-repo)** — Go HTTP
service template, with a script that renames it for a new project
## See Also
+2 -2
View File
@@ -8,8 +8,8 @@ ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
main() {
cd "$ROOT"
hook=".git/hooks/pre-commit"
printf '#!/bin/sh\nset -e\nscript/precommit\n' > .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
printf '#!/bin/sh\nset -e\nscript/precommit\n' > "$hook"
chmod +x "$hook"
echo "pre-commit hook installed: runs script/precommit"
}