Simplify Go installation and support standard OpenCode releases

This commit is contained in:
2026-10-08 23:17:38 +01:00
parent 0f30a001c2
commit accbe63e39
101 changed files with 1331 additions and 682 deletions
+6 -1
View File
@@ -1,3 +1,8 @@
#!/bin/sh
set -eu
exec python3 "$(dirname "$0")/scripts/install.py" "$@"
if [ "$#" -ne 0 ]; then
echo 'Usage: ./install.sh (honors GOBIN and GOPATH; installs binaries only)' >&2
exit 2
fi
cd "$(dirname "$0")"
exec go install -trimpath ./cmd/...