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 4 additions and 9 deletions

No files matched your search

+2 -7
View File
@@ -185,13 +185,8 @@ 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)
- **[template-app-js](https://git.eeqj.de/sneak/template-app-js)** — JavaScript
SPA template (Vite, Tailwind CSS v4, nginx Docker deployment)
- **[template-app-python](https://git.eeqj.de/sneak/template-app-python)** —
Python web application template (FastAPI, uvicorn, pytest, black, ruff)
When updating policies in this repo, also update the template repos 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"
}