shredbx logo
shredbx shredbx shredbx shredbx Personal
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
AClaude
  • Home
  • Lab
  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
Andrei Solovev
Packages
Search packages... ⌘K
  • Data & Persistence
    • Databases 3
    • Object Storage 1
    • File Formats 2
    • Enumerations 2
    • Content 1
    • Codegen 2
  • System Integration
    • Secrets 1
    • CLI Tools 5
    • Media Processing 2
    • Adapters 2
  • UI & Components
    • Primitives 1
    • Blocks 1
    • Sections & Layouts 1
    • Entities 1
    • Media 1
    • Utilities 1
    • State & Presenter 1
    • Branding & Style 1
  • Game Engine
    • Framework 1
    • Engine 2
    • Presets 1
    • Vendor 1
Packages/ System Integration/ CLI Tools/ Build
Go Package

build

Build orchestrator — Go/Node/Docker build commands with progress reporting

Go Ready SI
Multi-Platform Build
$ sbx build --platform go --dir projects/sbx/packages/core/go
[build:go] target: bin/sbx
[build:go] CGO_ENABLED=0 GOOS=linux GOARCH=amd64
[build:go] compiling 47 packages...
[build:go] bin/sbx — 18.3 MB — 4.2s
$ sbx build --platform node --dir projects/sbx/apps/sbx/svelte
[build:node] adapter: node
[build:node] vite build...
[build:node] 142 modules transformed
[build:node] build/ — 2.1 MB — 6.8s

About

Orchestrates build commands across Go, Node, and Docker platforms. Detects the project type, runs the appropriate build tool, captures output for progress reporting, and returns structured build results.

Public API

NameKindSignature
Buildertypetype Builder struct
NewBuilderfuncfunc NewBuilder(cfg Config) *Builder
BuildGofuncfunc (b *Builder) BuildGo(ctx context.Context, dir string, opts ...GoOption) (*BuildResult, error)
BuildNodefuncfunc (b *Builder) BuildNode(ctx context.Context, dir string, opts ...NodeOption) (*BuildResult, error)
BuildDockerfuncfunc (b *Builder) BuildDocker(ctx context.Context, service string, opts ...DockerOption) (*BuildResult, error)

Dependencies

Imports (2)

external Go Ready

External process runner — exec.Command wrapper with timeout, output capture, error handling

execprocess-runnertimeoutoutput-capture
5 exports 7 deps
config Go Ready

YAML configuration reader — typed config loading with environment overlay

yamlconfigurationenvironmenttyped-config
4 exports 4 deps

Related Packages

external Go Ready

External process runner — exec.Command wrapper with timeout, output capture, error handling

execprocess-runnertimeoutoutput-capture
5 exports 7 deps
migrate Go Ready

Database migration runner — up/down/status with versioned SQL files

migrationssqlversionedup-down
5 exports 2 deps

Source

github.com/shredbx/sbx-core/pkg/build
build-systemmulti-platformdockerprogress
shredbx logo shredbx shredbx shredbx shredbx Andrei Solovev

Solution Architect & Lead Software Engineer

ExperiencePortfolioResearch & ExperimentsEducationCertificationSkills
GitHub ↗LinkedIn ↗Email ↗
AVAILABLE FOR NEW PROJECTS
// MY LATEST BEATS
Hobby & Interests

Lab

  • The Lab
  • Framework
  • Components
  • Packages
  • Games
  • Process (SDLC)
  • Knowledge
  • Blog

Andrei

  • Portfolio
  • Experience
  • Services
  • Profile
  • Contact
  • Lifestyle

Team

  • Team
  • Andrei
  • Claude

Legal

  • Privacy
  • Terms
  • Cookies
© 2026 shredbx.com. All rights reserved. — Andrei Solovev |