Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppleId ¶
type AppleId struct { // Username is your AC username, typically an email. Username string `hcl:"username"` // Password is the password for your AC account. This also accepts // two additional forms: '@keychain:<name>' which reads the password from // the keychain and '@env:<name>' which reads the password from an // an environmental variable named <name>. Password string `hcl:"password"` // Provider is the AC provider. This is optional and only needs to be // specified if you're using an Apple ID account that has multiple // teams. Provider string `hcl:"provider,optional"` }
AppleId are the authentication settings for Apple systems.
type Config ¶
type Config struct { // Source is the list of binary files to sign. Source []string `hcl:"source"` // BundleId is the bundle ID to use for the package that is created. // This should be in a format such as "com.example.app". The value can // be anything, this is required by Apple. BundleId string `hcl:"bundle_id"` // Sign are the settings for code-signing the binaries. Sign Sign `hcl:"sign,block"` // AppleId are the credentials to use to talk to Apple. AppleId AppleId `hcl:"apple_id,block"` // Zip, if present, creates a notarized zip file as the output. Note // that zip files do not support stapling, so the final result will // require an internet connection on first use to validate the notarization. Zip *Zip `hcl:"zip,block"` // Dmg, if present, creates a dmg file to package the signed `Source` files // into. Dmg files support stapling so this allows offline usage. Dmg *Dmg `hcl:"dmg,block"` }
Config is the configuration structure for gon.
type Dmg ¶
type Dmg struct { // OutputPath is the path where the final dmg will be saved. OutputPath string `hcl:"output_path"` // Volume name is the name of the volume that shows up in the title // and sidebar after opening it. VolumeName string `hcl:"volume_name"` }
Dmg are the options for a dmg file as output.
Click to show internal directories.
Click to hide internal directories.