Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
Options
}
func (*Builder) Build ¶
Build signs the binary, builds the package and signs and notarizes and staples it. It' currently limited to 1 file only. The notarization part requires the following environment variables to be set: - MACOSNOTARYLIB_ISSUER_ID - MACOSNOTARYLIB_KID - MACOSNOTARYLIB_PRIVATE_KEY (in base64 format).
type Options ¶
type Options struct {
// The Info logger.
// If nil, no Info logging will be done.
Infof func(format string, a ...interface{})
// The Dir to build from.
Dir string
// Developer ID Application + Developer ID Installer
// https://developer.apple.com/account/resources/certificates/list
SigningIdentity string
// The result
PackageOutputFilename string
// The staging directory where all your build artifacts are located.
StagingDirectory string
// E.g. io.gohugo.hugo
Identifier string
// E.g. 234
Version string
// E.g. /Applications
InstallLocation string
// Scripts passed on the command line --scripts flag.
// E.g. /mypkgscripts
ScriptsDirectory string
// Flags to enable skipping of build steps.
SkipCodeSigning bool
SkipInstallerSigning bool
SkipNotarization bool
}
Click to show internal directories.
Click to hide internal directories.