@@ -17,16 +17,16 @@ const EmbedOnDemandResourcesAssetPacksInBundleDefault = true
1717// ICloudContainerEnvironmentKey ...
1818const ICloudContainerEnvironmentKey = "iCloudContainerEnvironment"
1919
20+ // ICloudContainerEnvironment ...
21+ type ICloudContainerEnvironment string
22+
2023const (
2124 // ICloudContainerEnvironmentDevelopment ...
2225 ICloudContainerEnvironmentDevelopment ICloudContainerEnvironment = "Development"
2326 // ICloudContainerEnvironmentProduction ...
2427 ICloudContainerEnvironmentProduction ICloudContainerEnvironment = "Production"
2528)
2629
27- // ICloudContainerEnvironment ...
28- type ICloudContainerEnvironment string
29-
3030// DistributionBundleIdentifier ...
3131const DistributionBundleIdentifier = "distributionBundleIdentifier"
3232
@@ -79,6 +79,9 @@ func (manifest Manifest) ToHash() map[string]string {
7979// MethodKey ...
8080const MethodKey = "method"
8181
82+ // Method ...
83+ type Method string
84+
8285const (
8386 // MethodAppStore ...
8487 MethodAppStore Method = "app-store"
@@ -96,9 +99,6 @@ const (
9699 MethodDefault Method = MethodDevelopment
97100)
98101
99- // Method ...
100- type Method string
101-
102102// ParseMethod ...
103103func ParseMethod (method string ) (Method , error ) {
104104 switch method {
@@ -163,16 +163,24 @@ const SigningCertificateKey = "signingCertificate"
163163// InstallerSigningCertificateKey ...
164164const InstallerSigningCertificateKey = "installerSigningCertificate"
165165
166+ // SigningStyleKey ...
167+ const SigningStyleKey = "signingStyle"
168+
169+ // SigningStyle ...
170+ type SigningStyle string
171+
166172// SigningStyle ...
167173const (
168- SigningStyleKey = "signingStyle"
169- SigningStyleManual = "manual"
170- SigningStyleAutomatic = "automatic"
174+ SigningStyleManual SigningStyle = "manual"
175+ SigningStyleAutomatic SigningStyle = "automatic"
171176)
172177
178+ const DestinationKey = "destination"
179+
180+ type Destination string
181+
173182// Destination ...
174183const (
175- DestinationKey = "destination"
176- DestinationExport = "export"
177- DestinationDefault = DestinationExport
184+ DestinationExport Destination = "export"
185+ DestinationDefault Destination = DestinationExport
178186)
0 commit comments