check / check (push) Successful in 2m9s
The repo's first code, with the layout the prompts policies ask for: Makefile, script/ entrypoints, a Dockerfile whose lint and test phases gate the build, the Gitea workflow, the canonical dotfiles and REPO_POLICIES.md. smallwebwaf passes each request to the app through httputil.ReverseProxy within the four timeouts and two size limits, works out the client's address behind trusted proxies, and writes one JSON line per request. The tests run against real local servers. SPEC.md now says what Go's HTTP server does before smallwebwaf sees a request; make fmt only rewraps EVALUATION.md. Model: opus-5-5
14 lines
275 B
Bash
Executable File
14 lines
275 B
Bash
Executable File
#!/bin/sh
|
|
# script/setup: set up the repo for development after a fresh clone:
|
|
# installs dependencies and the git pre-commit hook.
|
|
set -eu
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd -P)"
|
|
|
|
main() {
|
|
"$SCRIPT_DIR/bootstrap"
|
|
"$SCRIPT_DIR/install-precommit"
|
|
}
|
|
|
|
main "$@"
|