Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Logger to use. Log zerolog.Logger // Target OS and architecture (in GOOS/GOARCH format) OS string Arch string // Release is true if this is a release build. Release bool // The version being built. Version string // RepoDir is the path to the encore repo on the filesystem. RepoDir string // CacheDir is the cache dir to use for the build. CacheDir string // The path to the MacOS SDK. Must be set for cross-compiles to macOS. MacSDKPath option.Option[string] // Whether or not to publish packages to NPM. Only used if Release is also true. PublishNPMPackages bool // Whether to copy the built native module back to the repo dir. CopyToRepo bool // RustBuilder will override the automatic builder selection if set. RustBuilder option.Option[string] }
func (*Config) CrossMacSDKPath ¶
Click to show internal directories.
Click to hide internal directories.