- build.sh: CGO_ENABLED=0 + -ldflags "-s -w" → fully static binary (pure-Go SQLite, no C toolchain), runs on any linux/<arch>; note GOARCH cross-compile. - scripts/hsa-app.sh: load an env file (default /etc/hsa-app/hsa-app.env, or arg/ $HSA_ENV_FILE), export it, then exec the binary ($HSA_BIN or ./hsa next to it). Suitable as a systemd ExecStart. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build.sh | ||
| go-env.sh | ||
| hsa-app.sh | ||
| run.sh | ||
| test.sh | ||