Build system, release publishers, and SDK generation
  • Go 93.4%
  • TypeScript 5.2%
  • Shell 0.6%
  • JavaScript 0.6%
  • HTML 0.2%
Find a file
Snider 7a4a84aa06
Some checks failed
CI / golangci-lint (push) Has been cancelled
CI / Test + Coverage (push) Has been cancelled
CI / SonarCloud (push) Has been cancelled
chore(repo): untrack build artifacts + scan caches (audit dim tracked-artifacts)
Removes from git index: node_modules.bak/, .lintdeps/, .scannerwork/,
.DS_Store, dist/, etc. — regenerable build/scan outputs that should
never be tracked. Updates .gitignore with the canonical pattern set.

Audit dimension `tracked-artifacts` (core/go commit 62aac07) flagged
1 entries. Same root-cause class as Mantis #1333 (gui
ui/node_modules.bak/) — applying the structural fix ecosystem-wide.

Co-Authored-By: Cladius Maximus <cladius@lethean.io>
2026-05-01 10:34:54 +01:00
.claude-plugin fix(plugin): remove invalid commands/repository schema from plugin.json 2026-03-13 10:54:44 +00:00
.github/workflows ci(public): add github actions workflow + README badge block 2026-04-30 15:24:26 +01:00
docs docs(go-build): RFC.installer-cdn.md — CDN delivery + signature verification spec (#34) 2026-04-25 23:36:41 +01:00
external chore(repo): refresh submodules + go.work hygiene (Phase 2 cascade unblock) 2026-05-01 09:39:11 +01:00
go refactor(go): propagate command-registration Result + use core.E (Mantis #1226) 2026-04-30 17:55:08 +01:00
ui feat(api): expose discovery setup plan 2026-04-15 01:17:42 +01:00
.gitignore chore(repo): untrack build artifacts + scan caches (audit dim tracked-artifacts) 2026-05-01 10:34:54 +01:00
.gitmodules chore(go-build): restructure Go module under go/ + go.work + external/ submodule 2026-04-30 12:22:20 +01:00
.woodpecker.yml chore(go-build): restructure Go module under go/ + go.work + external/ submodule 2026-04-30 12:22:20 +01:00
AGENTS.md refactor(core): align go-build with hardened core/go reference shape 2026-04-29 03:34:07 +01:00
CLAUDE.md chore(go-build): restructure Go module under go/ + go.work + external/ submodule 2026-04-30 12:22:20 +01:00
go.work chore(go-build): restructure Go module under go/ + go.work + external/ submodule 2026-04-30 12:22:20 +01:00
go.work.sum chore(lint): clear golangci-lint findings 2026-04-30 13:47:23 +01:00
LICENCE chore: add EUPL-1.2 LICENCE file (UK English canonical) 2026-05-01 08:33:36 +01:00
LICENSE Initial commit 2026-03-09 12:35:35 +00:00
README.md ci(public): add github actions workflow + README badge block 2026-04-30 15:24:26 +01:00
sonar-project.properties chore(go-build): restructure Go module under go/ + go.work + external/ submodule 2026-04-30 12:22:20 +01:00

go-build

Go build orchestrator — cmd, project detection, release publishers

CI Quality Gate Coverage Security Rating Maintainability Rating Reliability Rating Code Smells Lines of Code Go Reference License: EUPL-1.2

dappco.re/go/build is the build, release, SDK, Apple packaging, and workflow toolkit behind core build, core release, core sdk, core ci, and the public dAppCore/build@v3 GitHub Action surface.

What It Covers

  • Project discovery across Go, Wails, Node/Deno frontend, PHP, Python, Rust, Docs, Docker, LinuxKit, C++, and Taskfile projects
  • Cross-platform artifact builds with archive and checksum generation
  • Eight release publishers: GitHub, Docker, npm, Homebrew, Scoop, AUR, Chocolatey, and LinuxKit
  • macOS Apple pipeline: core build apple, codesign, notarisation, DMG packaging, TestFlight/App Store submission, Info.plist and entitlements generation, Xcode Cloud scripts
  • OpenAPI SDK generation for TypeScript, Python, Go, and PHP with oasdiff breaking-change checks
  • Reusable release workflow generation via core build workflow

Action/Workflow Parity

The generated reusable workflow mirrors the dAppCore/build@v3 action architecture:

  • Auto-detects stack markers including subtree frontend manifests and MkDocs projects
  • Exposes the same discovery, option-computation, and setup-planning shape in Go through DiscoverFull, ComputeOptions, ComputeSetupPlan, and the reusable Pipeline gateway
  • Installs Go, Node, Python, Conan, MkDocs, Deno, and Wails when required, plus frontend package dependencies and optional garble for obfuscated builds
  • Applies distro-aware Linux WebKit dependencies for Wails builds
  • Supports obfuscation, NSIS packaging, WebView2 modes, Deno frontend overrides, and build cache restore/save
  • Exposes the action-style control surface: core-version, go-version, node-version, wails-version, version, build, sign, package, build-name, build-platform, build-tags, build-obfuscate, nsis, deno-build, wails-build-webview2, build-cache, and archive-format
  • Uploads workflow artifacts using the action-style naming shape: {build-name}_{os}_{arch}_{tag|shortsha}

Commands

core build
core build apple
core build workflow
core release
core release --apple-testflight
core sdk
core build sdk
core ci

Module

import "dappco.re/go/build/pkg/build"

The repository is a library/command-registration module. It does not ship its own standalone binary.