chore(go-build): migrate 7 stale core/{api,cli,i18n,io,log,process,ws} + inference deps per AX-6

go.mod + 142 *.go files updated. Also swept dappco.re/go/core/inference
to satisfy the no-core/ verification constraint.

Closes tasks.lthn.sh/view.php?id=591

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Codex 2026-04-24 22:05:09 +01:00
parent 316bab7014
commit 19fff219e2
143 changed files with 237 additions and 237 deletions

View file

@ -4,7 +4,7 @@ import (
"strings"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/cli/pkg/cli"
)
func emitCIErrorAnnotation(err error) {

View file

@ -8,10 +8,10 @@ import (
"dappco.re/go/build/internal/cmdutil"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/i18n"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/i18n"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
var buildAppleFn = build.BuildApple

View file

@ -7,7 +7,7 @@ import (
"dappco.re/go/build/internal/cmdutil"
_ "dappco.re/go/build/locales" // registers locale translations
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/cli/pkg/cli"
)
// Style aliases used by build command output.

View file

@ -15,9 +15,9 @@ import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/build/builders"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
coreio "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
coreio "dappco.re/go/io"
coreerr "dappco.re/go/log"
)
type immutableImageVersion struct {

View file

@ -9,7 +9,7 @@ import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/build/builders"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func setupFakeLinuxKitImageCLI(t *testing.T, binDir string) {

View file

@ -11,9 +11,9 @@ import (
"dappco.re/go/build/pkg/release"
"dappco.re/go/build/pkg/release/publishers"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
var (

View file

@ -8,7 +8,7 @@ import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/release"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
"errors"
"os"
)

View file

@ -19,10 +19,10 @@ import (
"dappco.re/go/build/pkg/build/signing"
"dappco.re/go/build/pkg/release"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/i18n"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/i18n"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
var getProjectBuildWorkingDir = ax.Getwd

View file

@ -10,8 +10,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/io"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/io"
"errors"
)

View file

@ -18,8 +18,8 @@ import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/i18n"
coreerr "dappco.re/go/core/log"
"dappco.re/go/i18n"
coreerr "dappco.re/go/log"
"github.com/leaanthony/debme"
"github.com/leaanthony/gosod"
"golang.org/x/net/html"

View file

@ -9,9 +9,9 @@ import (
"dappco.re/go/build/internal/cmdutil"
"dappco.re/go/build/pkg/release"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/i18n"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/i18n"
coreerr "dappco.re/go/log"
)
var (

View file

@ -7,7 +7,7 @@ import (
"dappco.re/go/build/pkg/release"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/cli/pkg/cli"
)
func TestBuildCmd_applyReleaseArchiveFormatOverride_Good(t *testing.T) {

View file

@ -12,10 +12,10 @@ import (
"dappco.re/go/build/internal/sdkcfg"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/i18n"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/i18n"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// runBuildSDK handles the `core build sdk` command.

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/internal/cmdutil"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// releaseWorkflowRequestInputs keeps the workflow alias inputs grouped by the

View file

@ -6,7 +6,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestBuildCmd_resolveReleaseWorkflowOutputPathInput_Good(t *testing.T) {

View file

@ -7,9 +7,9 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/internal/cmdutil"
"dappco.re/go/build/pkg/release"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/i18n"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/i18n"
coreerr "dappco.re/go/log"
)
// Style aliases used by CI command output.

View file

@ -16,10 +16,10 @@ import (
"dappco.re/go/build/internal/sdkcfg"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/core/i18n"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
"dappco.re/go/i18n"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
"github.com/oasdiff/oasdiff/checker"
)

View file

@ -7,7 +7,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/cli/pkg/cli"
)
const validOpenAPISpec = `openapi: "3.0.0"

View file

@ -14,8 +14,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/internal/cmdutil"
buildservice "dappco.re/go/build/pkg/service"
"dappco.re/go/core/cli/pkg/cli"
coreerr "dappco.re/go/core/log"
"dappco.re/go/cli/pkg/cli"
coreerr "dappco.re/go/log"
)
var (

16
go.mod
View file

@ -4,13 +4,13 @@ go 1.26.0
require (
dappco.re/go/core v0.8.0-alpha.1
dappco.re/go/core/api v0.3.0
dappco.re/go/core/cli v0.5.2
dappco.re/go/core/i18n v0.2.3
dappco.re/go/core/io v0.4.1
dappco.re/go/core/log v0.1.2
dappco.re/go/core/process v0.5.1
dappco.re/go/core/ws v0.4.0
dappco.re/go/api v0.3.0
dappco.re/go/cli v0.5.2
dappco.re/go/i18n v0.2.3
dappco.re/go/io v0.4.1
dappco.re/go/log v0.1.2
dappco.re/go/process v0.5.1
dappco.re/go/ws v0.4.0
github.com/Snider/Borg v0.2.0
github.com/gin-gonic/gin v1.12.0
github.com/gorilla/websocket v1.5.3
@ -26,7 +26,7 @@ require (
require (
cloud.google.com/go v0.123.0 // indirect
dappco.re/go/core/inference v0.3.0 // indirect
dappco.re/go/inference v0.3.0 // indirect
github.com/99designs/gqlgen v0.17.88 // indirect
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/TwiN/go-color v1.4.1 // indirect

View file

@ -8,10 +8,10 @@ import (
"syscall"
"dappco.re/go/core"
coreio "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
process "dappco.re/go/core/process"
processexec "dappco.re/go/core/process/exec"
coreio "dappco.re/go/io"
coreerr "dappco.re/go/log"
process "dappco.re/go/process"
processexec "dappco.re/go/process/exec"
)
// DS returns the current platform directory separator.

View file

@ -5,7 +5,7 @@ import (
"strconv"
"dappco.re/go/core"
"dappco.re/go/core/cli/pkg/cli"
"dappco.re/go/cli/pkg/cli"
)
// ContextOrBackground returns the active CLI context when available.

View file

@ -3,7 +3,7 @@ package projectdetect
import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/build/builders"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
type detector struct {

View file

@ -5,7 +5,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestDetectProjectType_Good(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/release"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// LoadProjectConfig resolves SDK settings from build config first, then falls

View file

@ -6,7 +6,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/release"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestLoadProjectConfig_Good(t *testing.T) {

View file

@ -4,7 +4,7 @@ package locales
import (
"embed"
"dappco.re/go/core/i18n"
"dappco.re/go/i18n"
)
// Usage example: use locales.FS from package consumers as needed.

View file

@ -22,11 +22,11 @@ import (
"dappco.re/go/build/pkg/build/signing"
"dappco.re/go/build/pkg/release"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core/api"
"dappco.re/go/core/api/pkg/provider"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/core/ws"
"dappco.re/go/api"
"dappco.re/go/api/pkg/provider"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
"dappco.re/go/ws"
"github.com/gin-gonic/gin"
)

View file

@ -18,9 +18,9 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/release"
coreapi "dappco.re/go/core/api"
"dappco.re/go/core/io"
"dappco.re/go/core/ws"
coreapi "dappco.re/go/api"
"dappco.re/go/io"
"dappco.re/go/ws"
"errors"
"github.com/gorilla/websocket"
)

View file

@ -15,8 +15,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
const (

View file

@ -8,8 +8,8 @@ import (
"dappco.re/go/build/internal/ax"
build "dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/release"
coreio "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
coreio "dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// AppleOptions aliases the core Apple pipeline options.

View file

@ -10,7 +10,7 @@ import (
build "dappco.re/go/build/pkg/build"
"dappco.re/go/build/pkg/build/signing"
"dappco.re/go/core"
coreio "dappco.re/go/core/io"
coreio "dappco.re/go/io"
)
func TestAppleBuilder_New_Good(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestApple_WriteInfoPlist_Good(t *testing.T) {

View file

@ -12,8 +12,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
io_interface "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
io_interface "dappco.re/go/io"
coreerr "dappco.re/go/log"
"github.com/Snider/Borg/pkg/compress"
)

View file

@ -12,7 +12,7 @@ import (
"dappco.re/go/build/internal/ax"
io_interface "dappco.re/go/core/io"
io_interface "dappco.re/go/io"
"github.com/Snider/Borg/pkg/compress"
"os"
)

View file

@ -6,7 +6,7 @@ package build
import (
"context"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// ProjectType represents a detected project type.

View file

@ -8,8 +8,8 @@ import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// CPPBuilder implements the Builder interface for C++ projects using CMake + Conan.

View file

@ -9,7 +9,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func setupFakeCPPCommand(t *testing.T, binDir, name, script string) {

View file

@ -6,7 +6,7 @@ import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
coreerr "dappco.re/go/core/log"
coreerr "dappco.re/go/log"
)
// resolveDenoBuildCommand returns the Deno build invocation using the action-style

View file

@ -8,8 +8,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// DockerBuilder builds Docker images.

View file

@ -10,7 +10,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
coreio "dappco.re/go/core/io"
coreio "dappco.re/go/io"
)
func setupFakeDockerToolchain(t *testing.T, binDir string) {

View file

@ -12,8 +12,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// DocsBuilder builds MkDocs projects.

View file

@ -10,7 +10,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestDocs_DocsBuilderName_Good(t *testing.T) {

View file

@ -2,7 +2,7 @@ package builders
import (
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// appendConfiguredEnv returns a fresh environment slice that includes the

View file

@ -7,8 +7,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// GoBuilder implements the Builder interface for Go projects.

View file

@ -10,7 +10,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// setupGoTestProject creates a minimal Go project for testing.

View file

@ -7,8 +7,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// LinuxKitBuilder builds LinuxKit images.

View file

@ -13,8 +13,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// LinuxKitImageBuilder renders and builds immutable LinuxKit base images.

View file

@ -7,7 +7,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
"errors"
)

View file

@ -8,7 +8,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func setupFakeLinuxKitToolchain(t *testing.T, binDir string) {

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// NodeBuilder builds Node.js projects with the detected package manager.

View file

@ -9,7 +9,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func setupFakeNodeToolchain(t *testing.T, binDir string) {

View file

@ -3,7 +3,7 @@ package builders
import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
type packageJSONManifest struct {

View file

@ -12,8 +12,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// PHPBuilder builds PHP projects with composer.json manifests.

View file

@ -10,7 +10,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func setupFakePHPToolchain(t *testing.T, binDir string) {

View file

@ -12,8 +12,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// PythonBuilder builds Python projects with pyproject.toml or requirements.txt markers.

View file

@ -8,7 +8,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
"os"
)

View file

@ -8,8 +8,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// RustBuilder implements the Builder interface for Rust projects.

View file

@ -8,7 +8,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func setupFakeRustToolchain(t *testing.T, binDir string) {

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// TaskfileBuilder builds projects using Taskfile (https://taskfile.dev/).

View file

@ -9,7 +9,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestTaskfile_TaskfileBuilderName_Good(t *testing.T) {

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// WailsBuilder implements the Builder interface for Wails v3 projects.

View file

@ -9,7 +9,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/build"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// setupWailsTestProject creates a minimal Wails project structure for testing.

View file

@ -6,8 +6,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
func resolveBuiltinBuilder(projectType ProjectType) (Builder, error) {

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
"gopkg.in/yaml.v3"
)

View file

@ -4,7 +4,7 @@ import (
"os"
"testing"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestCache_SetupCache_Good(t *testing.T) {

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
io_interface "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
io_interface "dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// Checksum computes SHA256 for an artifact and returns the artifact with the Checksum field filled.

View file

@ -5,7 +5,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
"os"
)

View file

@ -7,8 +7,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
io_interface "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
io_interface "dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// CIContext holds environment information detected from a GitHub Actions run.

View file

@ -6,7 +6,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// setenvCI sets the GitHub Actions environment variables for a test and cleans up afterwards.

View file

@ -9,8 +9,8 @@ import (
"dappco.re/go/build/pkg/build/signing"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
"gopkg.in/yaml.v3"
)

View file

@ -7,7 +7,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core/io"
"dappco.re/go/io"
"gopkg.in/yaml.v3"
)

View file

@ -3,7 +3,7 @@ package build
import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// Marker files for project type detection.

View file

@ -6,7 +6,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// setupTestDir creates a temporary directory with the specified marker files.

View file

@ -9,7 +9,7 @@ import (
"strings"
"text/template"
coreerr "dappco.re/go/core/log"
coreerr "dappco.re/go/log"
)
//go:embed templates/*.tmpl

View file

@ -3,7 +3,7 @@ package build
import (
"embed"
coreerr "dappco.re/go/core/log"
coreerr "dappco.re/go/log"
)
//go:embed images/*.yml

View file

@ -6,8 +6,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// BuilderResolver resolves a project type into a concrete builder.

View file

@ -6,7 +6,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
"errors"
)

View file

@ -7,8 +7,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
coreio "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
coreio "dappco.re/go/io"
coreerr "dappco.re/go/log"
)
var defaultBuilderResolver BuilderResolver

View file

@ -6,7 +6,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
coreio "dappco.re/go/core/io"
coreio "dappco.re/go/io"
)
type runTestBuilder struct {

View file

@ -3,7 +3,7 @@ package build
import (
"strings"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// RuntimeConfigFromBuildConfig maps persisted build settings onto a runtime

View file

@ -3,7 +3,7 @@ package build
import (
"testing"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestBuild_RuntimeConfigFromBuildConfig_Good(t *testing.T) {

View file

@ -5,7 +5,7 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// SetupTool identifies a toolchain or installer surface required by the

View file

@ -4,7 +4,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestSetup_ComputeSetupPlan_Good(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// MacOSSigner signs binaries using macOS codesign.

View file

@ -6,7 +6,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestCodesign_MacOSSignerName_Good(t *testing.T) {

View file

@ -4,8 +4,8 @@ import (
"context"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// GPGSigner signs files using GPG.

View file

@ -5,7 +5,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestGPG_GPGSignerName_Good(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"runtime"
"dappco.re/go/core"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// Artifact represents a build output that can be signed.

View file

@ -5,7 +5,7 @@ import (
"context"
"dappco.re/go/core"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
// Signer defines the interface for code signing implementations.

View file

@ -7,7 +7,7 @@ import (
"strings"
"testing"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestSigning_SignBinariesSkipsNonDarwin_Good(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"runtime"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
// WindowsSigner signs binaries using Windows signtool.

View file

@ -6,7 +6,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestSigntool_NewWindowsSigner_Good(t *testing.T) {

View file

@ -4,7 +4,7 @@ import (
"regexp"
"dappco.re/go/core"
coreerr "dappco.re/go/core/log"
coreerr "dappco.re/go/log"
)
var safeVersionLinkerValue = regexp.MustCompile(`^[A-Za-z0-9._+-]+$`)

View file

@ -7,8 +7,8 @@ import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
io_interface "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
io_interface "dappco.re/go/io"
coreerr "dappco.re/go/log"
)
//go:embed templates/release.yml

View file

@ -5,7 +5,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestWorkflow_WriteReleaseWorkflow_Good(t *testing.T) {

View file

@ -5,8 +5,8 @@ import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
"dappco.re/go/io"
coreerr "dappco.re/go/log"
)
const (

View file

@ -4,7 +4,7 @@ import (
"testing"
"dappco.re/go/build/internal/ax"
"dappco.re/go/core/io"
"dappco.re/go/io"
)
func TestXcodeCloud_HasXcodeCloudConfig_Good(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"dappco.re/go/core"
"dappco.re/go/build/internal/ax"
coreerr "dappco.re/go/core/log"
coreerr "dappco.re/go/log"
"golang.org/x/text/cases"
"golang.org/x/text/language"
)

View file

@ -7,8 +7,8 @@ import (
"dappco.re/go/build/internal/ax"
"dappco.re/go/build/pkg/sdk"
"dappco.re/go/core"
coreio "dappco.re/go/core/io"
coreerr "dappco.re/go/core/log"
coreio "dappco.re/go/io"
coreerr "dappco.re/go/log"
"gopkg.in/yaml.v3"
)

Some files were not shown because too many files have changed in this diff Show more