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
+15
View File
@@ -0,0 +1,15 @@
package paths
import (
"path/filepath"
"testing"
)
func TestDataLocationIsIndependentOfExecutable(t *testing.T) {
dir := t.TempDir()
t.Setenv("XDG_DATA_HOME", dir)
db, err := Database()
if err != nil || db != filepath.Join(dir, "pipelines", "pipelines.db") {
t.Fatal(db, err)
}
}