diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-17 12:54:06 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-17 12:54:06 +0200 |
| commit | 1884d56b0d399e9cdb80016a9c166b0120989933 (patch) | |
| tree | d5ca16e23970791ea6b014a0d48541b444fdfd8b /gui/cmd | |
| parent | ca35dfc540bb86ebe193dd186ac6bb5276a93c2e (diff) | |
| download | krino-1884d56b0d399e9cdb80016a9c166b0120989933.tar.gz krino-1884d56b0d399e9cdb80016a9c166b0120989933.zip | |
the module path is git.labunix.xyz/krino
So that go install can find it. cgit serves no go-import meta tag, so
nginx answers a ?go-get=1 request for /NAME with one pointing at
https://git.labunix.xyz/NAME.git; the alternative was carrying a .git
suffix through every import line forever.
One sed over the imports, both go.mod files, and the dependency gate's
whitelist. Nothing else depends on the path. go install works from the
next tag, the first release whose go.mod carries it.
Diffstat (limited to 'gui/cmd')
| -rw-r--r-- | gui/cmd/krino-gui/main.go | 4 | ||||
| -rw-r--r-- | gui/cmd/krino-gui/paths.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gui/cmd/krino-gui/main.go b/gui/cmd/krino-gui/main.go index 25f4837..8440b63 100644 --- a/gui/cmd/krino-gui/main.go +++ b/gui/cmd/krino-gui/main.go @@ -12,8 +12,8 @@ import ( "github.com/diamondburned/gotk4/pkg/gtk/v4" - "krino/gui/internal/ui" - "krino/internal/engine" + "git.labunix.xyz/krino/gui/internal/ui" + "git.labunix.xyz/krino/internal/engine" ) // version is stamped at build time, as krino's is. diff --git a/gui/cmd/krino-gui/paths.go b/gui/cmd/krino-gui/paths.go index 447fc15..9e078f2 100644 --- a/gui/cmd/krino-gui/paths.go +++ b/gui/cmd/krino-gui/paths.go @@ -7,8 +7,8 @@ import ( "os" "path/filepath" - "krino/internal/config" - "krino/internal/xdg" + "git.labunix.xyz/krino/internal/config" + "git.labunix.xyz/krino/internal/xdg" ) // cacheDir is where every directory's keyword cache lives (spec ยง6.1), the |
