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
@@ -18,6 +18,7 @@ func TestCompiledCommandFindsManifestThroughSystemLink(t *testing.T) {
os.WriteFile(filepath.Join(root, "pipelines-install.json"), data, 0600)
link := filepath.Join(t.TempDir(), "pipelines")
os.Symlink(binary, link)
t.Setenv("PIPELINES_PREFIX", root)
loaded, err := Load(link)
if err != nil || loaded == nil || loaded.Prefix != root {
t.Fatal(loaded, err)