gitea.westgate -> git.westgate
This commit is contained in:
@@ -5,7 +5,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
)
|
||||
|
||||
func main() { os.Exit(dispatch.RunBuilder("depot", os.Args[1:])) }
|
||||
|
||||
@@ -4,7 +4,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
)
|
||||
|
||||
func main() { os.Exit(dispatch.RunBuilder("hak", os.Args[1:])) }
|
||||
|
||||
@@ -5,7 +5,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
)
|
||||
|
||||
func main() { os.Exit(dispatch.RunBuilder("module", os.Args[1:])) }
|
||||
|
||||
@@ -5,7 +5,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
)
|
||||
|
||||
func main() { os.Exit(dispatch.RunBuilder("topdata", os.Args[1:])) }
|
||||
|
||||
@@ -4,7 +4,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
)
|
||||
|
||||
func main() { os.Exit(dispatch.RunBuilder("wiki", os.Args[1:])) }
|
||||
|
||||
@@ -4,7 +4,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/dispatch"
|
||||
)
|
||||
|
||||
func main() { os.Exit(dispatch.Main(os.Args[1:])) }
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ RUN set -eux; \
|
||||
for dir in ./cmd/*/; do \
|
||||
name="$(basename "${dir}")"; \
|
||||
go build -trimpath \
|
||||
-ldflags "-s -w -X gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo.Version=${GIT_SHA}" \
|
||||
-ldflags "-s -w -X git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo.Version=${GIT_SHA}" \
|
||||
-o "/out/${name}" "${dir}"; \
|
||||
done
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module gitea.westgate.pw/ShadowsOverWestgate/sow-tools
|
||||
module git.westgate.pw/ShadowsOverWestgate/sow-tools
|
||||
|
||||
go 1.26.0
|
||||
|
||||
@@ -10,7 +10,7 @@ import "runtime/debug"
|
||||
|
||||
// Version is overridable at link time:
|
||||
//
|
||||
// -ldflags "-X gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo.Version=<sha>"
|
||||
// -ldflags "-X git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo.Version=<sha>"
|
||||
var Version = ""
|
||||
|
||||
// String returns a human-readable version line, e.g. "crucible 8f31c2a".
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"os"
|
||||
"text/tabwriter"
|
||||
|
||||
"gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo"
|
||||
"git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo"
|
||||
)
|
||||
|
||||
// Exit codes follow the sysexits(3) convention so CI can distinguish
|
||||
|
||||
@@ -9,7 +9,7 @@ set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
sha="$(git rev-parse --short=12 HEAD 2>/dev/null || echo unknown)"
|
||||
ldflags="-X gitea.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo.Version=${sha}"
|
||||
ldflags="-X git.westgate.pw/ShadowsOverWestgate/sow-tools/internal/buildinfo.Version=${sha}"
|
||||
|
||||
mkdir -p bin .cache/go-build
|
||||
export GOCACHE="${PWD}/.cache/go-build"
|
||||
|
||||
Reference in New Issue
Block a user