Add pkg/build package replacing goreleaser with native build system: - Project discovery (go.mod, wails.json, package.json, composer.json) - Go cross-compilation with GOOS/GOARCH, CGO_ENABLED=0, ldflags - Config loading from .core/build.yaml with sensible defaults - Archive creation (tar.gz for linux/darwin, zip for windows) - SHA256 checksum generation with CHECKSUMS.txt CLI integration via `core build`: - Auto-detect project type or specify with --type - Cross-compile with --targets (e.g., linux/amd64,darwin/arm64) - CI mode with --ci for JSON output - Archive/checksum flags (--archive, --checksum) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
46 lines
1.7 KiB
Modula-2
46 lines
1.7 KiB
Modula-2
module github.com/host-uk/core/cmd/core
|
|
|
|
go 1.25.5
|
|
|
|
require (
|
|
github.com/charmbracelet/lipgloss v1.1.0
|
|
github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be
|
|
github.com/host-uk/core/pkg/build v0.0.0
|
|
github.com/host-uk/core/pkg/cache v0.0.0-20260128153551-31712611be1c
|
|
github.com/host-uk/core/pkg/git v0.0.0
|
|
github.com/host-uk/core/pkg/repos v0.0.0
|
|
github.com/leaanthony/clir v1.7.0
|
|
github.com/leaanthony/debme v1.2.1
|
|
github.com/leaanthony/gosod v1.0.4
|
|
github.com/rivo/tview v0.42.0
|
|
golang.org/x/net v0.49.0
|
|
golang.org/x/text v0.33.0
|
|
)
|
|
|
|
require (
|
|
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
|
|
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
|
|
github.com/charmbracelet/x/ansi v0.8.0 // indirect
|
|
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
|
|
github.com/charmbracelet/x/term v0.2.1 // indirect
|
|
github.com/gdamore/encoding v1.0.1 // indirect
|
|
github.com/gdamore/tcell/v2 v2.8.1 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.16 // indirect
|
|
github.com/muesli/termenv v0.16.0 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
|
|
golang.org/x/exp v0.0.0-20250210185358-939b2ce775ac // indirect
|
|
golang.org/x/sys v0.40.0 // indirect
|
|
golang.org/x/term v0.39.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|
|
|
|
replace (
|
|
github.com/host-uk/core => ../../
|
|
github.com/host-uk/core/pkg/build => ../../pkg/build
|
|
github.com/host-uk/core/pkg/git => ../../pkg/git
|
|
github.com/host-uk/core/pkg/repos => ../../pkg/repos
|
|
)
|