Documentation
¶
Overview ¶
Package build provides the SDK bundle used by the server's hermetic in-process build backend.
Package build owns author-side local application builds. The server receives the resulting typed artifact through the clean /api/v1 deployment surface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PackSource ¶
PackSource returns a deterministic archive of the files that identify an app. It is used by the author CLI to record the deploy source digest.
func SourceDigest ¶
SourceDigest returns the SHA-256 content address of a packed source archive.
Types ¶
type Artifact ¶
type Artifact struct {
WASM []byte
}
Artifact is the locally built WebAssembly module.
type Bundle ¶
type Bundle struct {
WorkspaceModules []string
GoProxy string
// contains filtered or unexported fields
}
Bundle is a materialized copy of the embedded build dependencies. Call Cleanup after the build backend has stopped using WorkspaceModules.
type LocalBuilder ¶
LocalBuilder invokes the local Go toolchain. WorkspaceRoot may point at a Plumtree checkout so development builds resolve the checkout SDK.