Commit graph

19 commits

Author SHA1 Message Date
Virgil
3bb0b3cbda refactor(build): clarify config load error tags 2026-04-02 00:54:27 +00:00
Virgil
c648e981b4 feat(build): expand env vars in target config
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 20:16:57 +00:00
Virgil
3d7f7d6da1 fix(build): clone runtime build args maps 2026-04-01 19:52:42 +00:00
Virgil
479612fdf7 feat(build): expand env vars in build config 2026-04-01 19:32:07 +00:00
Virgil
0625288a73 feat(build): support more linuxkit output formats
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 19:21:32 +00:00
Virgil
47dcc3dc93 feat(build): support zip archive format 2026-04-01 15:37:51 +00:00
Virgil
3f32f3e783 feat(build): add docker load mode 2026-04-01 15:24:33 +00:00
Virgil
28e603aff5 feat(build): support configurable Go build tags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-01 15:12:09 +00:00
Virgil
ea051a3c25 feat(build): support configurable archive compression 2026-04-01 13:58:56 +00:00
Virgil
94d8ea7e55 fix(build): preserve config defaults on load 2026-04-01 13:52:51 +00:00
Virgil
e66220f493 Wire build config through to Docker and LinuxKit 2026-04-01 12:29:48 +00:00
Virgil
2fba3cdf2c feat(build): honour explicit build config path 2026-04-01 12:10:38 +00:00
Virgil
7f1da7766a feat(build): add build cache helpers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:50:06 +00:00
Snider
77aaac226c feat(build): discovery enrichment, build options, CI output format
- Add docs/python/rust project detection + DiscoverFull()
- Add BuildOptions with ComputeOptions, webkit tag injection, garble/NSIS/WebView2
- Add CI output: GitHub annotations, DetectCI, ArtifactName, WriteArtifactMeta
- Config struct additions for obfuscate/nsis/webview2
- Full Good/Bad/Ugly test coverage

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 19:33:31 +01:00
Snider
febe858942 fix(ax): replace banned os imports and add usage example comments
- Remove `os` import from internal/ax/ax.go; replace os.Getwd() with
  syscall.Getwd(), os.MkdirAll() with coreio.Local.EnsureDir(), and
  os.Chmod() with syscall.Chmod()
- Remove `os` import from pkg/sdk/generators/typescript_test.go;
  replace os.PathListSeparator and os.Getenv() with core.Env("PS")
  and core.Env("PATH")
- Replace all "Usage example: call/declare ... from integrating code"
  placeholder comments with concrete code examples across 45 files
  covering build, release, sdk, signing, publishers, builders, and cmd

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-31 18:33:36 +01:00
Virgil
7aa4e5486d chore(ax): finish v0.8.0 polish pass
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 17:41:53 +00:00
Snider
bb64608120 refactor(module): migrate module path to dappco.re/go/core/build
Update go.mod module declaration, all require lines, and .go import
paths from forge.lthn.ai to dappco.re. Dependencies updated: core
v0.5.0, log v0.1.0, io v0.2.0. Replace directives added for local
module resolution. forge.lthn.ai/core/cli and go-inference retained
at old paths (not yet migrated).

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-22 01:53:16 +00:00
Snider
d0e22f76e1 refactor: replace remaining fmt.Errorf/errors.New with coreerr.E()
Replace all fmt.Errorf and errors.New calls across 32 production files
with coreerr.E("caller.Method", "message", err) from go-log, matching
the convention already established in publishers/scoop.go and
publishers/homebrew.go.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-16 21:03:21 +00:00
Snider
b2edc2d26d refactor: restructure build/release/sdk into pkg/ layout
Moves build/, release/, sdk/ into pkg/ following Go convention.
Updates import paths in cmd/ci and cmd/sdk.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 09:30:02 +00:00
Renamed from build/config.go (Browse further)