fastlane 2.129.0.beta.20190813200016 → 2.129.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +74 -74
- data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp +0 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/Fastlane.swift +290 -284
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +3 -3
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +3 -3
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/pilot/lib/pilot/.manager.rb.swp +0 -0
- data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
- metadata +36 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6124176bffd29a27249c10db5e464422be774d8a0f809e77f10f5f95fb9957f2
|
4
|
+
data.tar.gz: c82037b4369ce615407225bd03d7a9aa8cb27c5128c60ddc9f5048577e6783fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58f7dfa0f132f6f82da3311798b41c07cc2fd0af94e7bad00d7f3318c2d6222eb3da810f6f6100ec1d8e7bd8f578faf4b94dc2d8d24f480864453fca7f59b7e7
|
7
|
+
data.tar.gz: 7efac8190498b5187a85e67ad8572faa1ea13f830695e57b970fa7e5fe161c67a8348ac7e6fb56817956c4c143bd37fabcb048c919cd72308d0c86c8d87a7e6a
|
data/README.md
CHANGED
@@ -34,17 +34,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
34
34
|
<!-- This table is regenerated and resorted on each release -->
|
35
35
|
<table id='team'>
|
36
36
|
<tr>
|
37
|
-
<td id='
|
38
|
-
<a href='https://github.com/
|
39
|
-
<img src='https://github.com/
|
40
|
-
</a>
|
41
|
-
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
42
|
-
</td>
|
43
|
-
<td id='iulian-onofrei'>
|
44
|
-
<a href='https://github.com/revolter'>
|
45
|
-
<img src='https://github.com/revolter.png?size=140'>
|
37
|
+
<td id='kohki-miki'>
|
38
|
+
<a href='https://github.com/giginet'>
|
39
|
+
<img src='https://github.com/giginet.png?size=140'>
|
46
40
|
</a>
|
47
|
-
<h4 align='center'><a href='https://twitter.com/
|
41
|
+
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
48
42
|
</td>
|
49
43
|
<td id='olivier-halligon'>
|
50
44
|
<a href='https://github.com/AliSoftware'>
|
@@ -52,43 +46,81 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
52
46
|
</a>
|
53
47
|
<h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
|
54
48
|
</td>
|
55
|
-
<td id='
|
56
|
-
<a href='https://github.com/
|
57
|
-
<img src='https://github.com/
|
49
|
+
<td id='jérôme-lacoste'>
|
50
|
+
<a href='https://github.com/lacostej'>
|
51
|
+
<img src='https://github.com/lacostej.png?size=140'>
|
58
52
|
</a>
|
59
|
-
<h4 align='center'><a href='https://twitter.com/
|
53
|
+
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
60
54
|
</td>
|
61
|
-
<td id='
|
62
|
-
<a href='https://github.com/
|
63
|
-
<img src='https://github.com/
|
55
|
+
<td id='jimmy-dee'>
|
56
|
+
<a href='https://github.com/jdee'>
|
57
|
+
<img src='https://github.com/jdee.png?size=140'>
|
64
58
|
</a>
|
65
|
-
<h4 align='center'
|
59
|
+
<h4 align='center'>Jimmy Dee</h4>
|
66
60
|
</td>
|
67
|
-
|
68
|
-
<
|
69
|
-
<
|
70
|
-
<a href='https://github.com/taquitos'>
|
71
|
-
<img src='https://github.com/taquitos.png?size=140'>
|
61
|
+
<td id='matthew-ellis'>
|
62
|
+
<a href='https://github.com/matthewellis'>
|
63
|
+
<img src='https://github.com/matthewellis.png?size=140'>
|
72
64
|
</a>
|
73
|
-
<h4 align='center'><a href='https://twitter.com/
|
65
|
+
<h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
|
74
66
|
</td>
|
67
|
+
</tr>
|
68
|
+
<tr>
|
75
69
|
<td id='luka-mirosevic'>
|
76
70
|
<a href='https://github.com/lmirosevic'>
|
77
71
|
<img src='https://github.com/lmirosevic.png?size=140'>
|
78
72
|
</a>
|
79
73
|
<h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
|
80
74
|
</td>
|
75
|
+
<td id='iulian-onofrei'>
|
76
|
+
<a href='https://github.com/revolter'>
|
77
|
+
<img src='https://github.com/revolter.png?size=140'>
|
78
|
+
</a>
|
79
|
+
<h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
|
80
|
+
</td>
|
81
|
+
<td id='manu-wallner'>
|
82
|
+
<a href='https://github.com/milch'>
|
83
|
+
<img src='https://github.com/milch.png?size=140'>
|
84
|
+
</a>
|
85
|
+
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
86
|
+
</td>
|
87
|
+
<td id='andrew-mcburney'>
|
88
|
+
<a href='https://github.com/armcburney'>
|
89
|
+
<img src='https://github.com/armcburney.png?size=140'>
|
90
|
+
</a>
|
91
|
+
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
92
|
+
</td>
|
93
|
+
<td id='jorge-revuelta-h'>
|
94
|
+
<a href='https://github.com/minuscorp'>
|
95
|
+
<img src='https://github.com/minuscorp.png?size=140'>
|
96
|
+
</a>
|
97
|
+
<h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
|
98
|
+
</td>
|
99
|
+
</tr>
|
100
|
+
<tr>
|
101
|
+
<td id='fumiya-nakamura'>
|
102
|
+
<a href='https://github.com/nafu'>
|
103
|
+
<img src='https://github.com/nafu.png?size=140'>
|
104
|
+
</a>
|
105
|
+
<h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
|
106
|
+
</td>
|
107
|
+
<td id='stefan-natchev'>
|
108
|
+
<a href='https://github.com/snatchev'>
|
109
|
+
<img src='https://github.com/snatchev.png?size=140'>
|
110
|
+
</a>
|
111
|
+
<h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
|
112
|
+
</td>
|
81
113
|
<td id='danielle-tomlinson'>
|
82
114
|
<a href='https://github.com/endocrimes'>
|
83
115
|
<img src='https://github.com/endocrimes.png?size=140'>
|
84
116
|
</a>
|
85
117
|
<h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
|
86
118
|
</td>
|
87
|
-
<td id='
|
88
|
-
<a href='https://github.com/
|
89
|
-
<img src='https://github.com/
|
119
|
+
<td id='maksym-grebenets'>
|
120
|
+
<a href='https://github.com/mgrebenets'>
|
121
|
+
<img src='https://github.com/mgrebenets.png?size=140'>
|
90
122
|
</a>
|
91
|
-
<h4 align='center'><a href='https://twitter.com/
|
123
|
+
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
92
124
|
</td>
|
93
125
|
<td id='josh-holtz'>
|
94
126
|
<a href='https://github.com/joshdholtz'>
|
@@ -98,23 +130,23 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
98
130
|
</td>
|
99
131
|
</tr>
|
100
132
|
<tr>
|
133
|
+
<td id='joshua-liebowitz'>
|
134
|
+
<a href='https://github.com/taquitos'>
|
135
|
+
<img src='https://github.com/taquitos.png?size=140'>
|
136
|
+
</a>
|
137
|
+
<h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
|
138
|
+
</td>
|
101
139
|
<td id='jan-piotrowski'>
|
102
140
|
<a href='https://github.com/janpio'>
|
103
141
|
<img src='https://github.com/janpio.png?size=140'>
|
104
142
|
</a>
|
105
143
|
<h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
|
106
144
|
</td>
|
107
|
-
<td id='
|
108
|
-
<a href='https://github.com/
|
109
|
-
<img src='https://github.com/
|
110
|
-
</a>
|
111
|
-
<h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
|
112
|
-
</td>
|
113
|
-
<td id='fumiya-nakamura'>
|
114
|
-
<a href='https://github.com/nafu'>
|
115
|
-
<img src='https://github.com/nafu.png?size=140'>
|
145
|
+
<td id='felix-krause'>
|
146
|
+
<a href='https://github.com/KrauseFx'>
|
147
|
+
<img src='https://github.com/KrauseFx.png?size=140'>
|
116
148
|
</a>
|
117
|
-
<h4 align='center'><a href='https://twitter.com/
|
149
|
+
<h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
|
118
150
|
</td>
|
119
151
|
<td id='helmut-januschka'>
|
120
152
|
<a href='https://github.com/hjanuschka'>
|
@@ -122,43 +154,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
|
|
122
154
|
</a>
|
123
155
|
<h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
|
124
156
|
</td>
|
125
|
-
<td id='
|
126
|
-
<a href='https://github.com/
|
127
|
-
<img src='https://github.com/
|
128
|
-
</a>
|
129
|
-
<h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
|
130
|
-
</td>
|
131
|
-
</tr>
|
132
|
-
<tr>
|
133
|
-
<td id='jimmy-dee'>
|
134
|
-
<a href='https://github.com/jdee'>
|
135
|
-
<img src='https://github.com/jdee.png?size=140'>
|
136
|
-
</a>
|
137
|
-
<h4 align='center'>Jimmy Dee</h4>
|
138
|
-
</td>
|
139
|
-
<td id='kohki-miki'>
|
140
|
-
<a href='https://github.com/giginet'>
|
141
|
-
<img src='https://github.com/giginet.png?size=140'>
|
142
|
-
</a>
|
143
|
-
<h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
|
144
|
-
</td>
|
145
|
-
<td id='manu-wallner'>
|
146
|
-
<a href='https://github.com/milch'>
|
147
|
-
<img src='https://github.com/milch.png?size=140'>
|
148
|
-
</a>
|
149
|
-
<h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
|
150
|
-
</td>
|
151
|
-
<td id='jérôme-lacoste'>
|
152
|
-
<a href='https://github.com/lacostej'>
|
153
|
-
<img src='https://github.com/lacostej.png?size=140'>
|
154
|
-
</a>
|
155
|
-
<h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
|
156
|
-
</td>
|
157
|
-
<td id='matthew-ellis'>
|
158
|
-
<a href='https://github.com/matthewellis'>
|
159
|
-
<img src='https://github.com/matthewellis.png?size=140'>
|
157
|
+
<td id='aaron-brager'>
|
158
|
+
<a href='https://github.com/getaaron'>
|
159
|
+
<img src='https://github.com/getaaron.png?size=140'>
|
160
160
|
</a>
|
161
|
-
<h4 align='center'><a href='https://twitter.com/
|
161
|
+
<h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
|
162
162
|
</td>
|
163
163
|
</tr>
|
164
164
|
</table>
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.129.0
|
2
|
+
VERSION = '2.129.0'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
@@ -19,7 +19,7 @@ func addGitTag(tag: String? = nil,
|
|
19
19
|
grouping: String = "builds",
|
20
20
|
`prefix`: String = "",
|
21
21
|
`postfix`: String = "",
|
22
|
-
buildNumber:
|
22
|
+
buildNumber: Any,
|
23
23
|
message: String? = nil,
|
24
24
|
commit: String? = nil,
|
25
25
|
force: Bool = false,
|
@@ -35,10 +35,10 @@ func addGitTag(tag: String? = nil,
|
|
35
35
|
RubyCommand.Argument(name: "sign", value: sign)])
|
36
36
|
_ = runner.executeCommand(command)
|
37
37
|
}
|
38
|
-
func appStoreBuildNumber(initialBuildNumber:
|
38
|
+
func appStoreBuildNumber(initialBuildNumber: Any,
|
39
39
|
appIdentifier: String,
|
40
40
|
username: String,
|
41
|
-
teamId:
|
41
|
+
teamId: Any? = nil,
|
42
42
|
live: Bool = true,
|
43
43
|
version: String? = nil,
|
44
44
|
platform: String = "ios",
|
@@ -131,13 +131,13 @@ func appium(platform: String,
|
|
131
131
|
RubyCommand.Argument(name: "appium_lib", value: appiumLib)])
|
132
132
|
_ = runner.executeCommand(command)
|
133
133
|
}
|
134
|
-
func appledoc(input:
|
134
|
+
func appledoc(input: Any,
|
135
135
|
output: String? = nil,
|
136
136
|
templates: String? = nil,
|
137
137
|
docsetInstallPath: String? = nil,
|
138
138
|
include: String? = nil,
|
139
|
-
ignore:
|
140
|
-
excludeOutput:
|
139
|
+
ignore: Any? = nil,
|
140
|
+
excludeOutput: Any? = nil,
|
141
141
|
indexDesc: String? = nil,
|
142
142
|
projectName: String,
|
143
143
|
projectVersion: String? = nil,
|
@@ -174,8 +174,8 @@ func appledoc(input: String,
|
|
174
174
|
exitThreshold: Int = 2,
|
175
175
|
docsSectionTitle: String? = nil,
|
176
176
|
warnings: String? = nil,
|
177
|
-
logformat:
|
178
|
-
verbose:
|
177
|
+
logformat: Any? = nil,
|
178
|
+
verbose: Any? = nil) {
|
179
179
|
let command = RubyCommand(commandID: "", methodName: "appledoc", className: nil, args: [RubyCommand.Argument(name: "input", value: input),
|
180
180
|
RubyCommand.Argument(name: "output", value: output),
|
181
181
|
RubyCommand.Argument(name: "templates", value: templates),
|
@@ -243,19 +243,19 @@ func appstore(username: String,
|
|
243
243
|
submitForReview: Bool = false,
|
244
244
|
rejectIfPossible: Bool = false,
|
245
245
|
automaticRelease: Bool = false,
|
246
|
-
autoReleaseDate:
|
246
|
+
autoReleaseDate: Any? = nil,
|
247
247
|
phasedRelease: Bool = false,
|
248
248
|
resetRatings: Bool = false,
|
249
|
-
priceTier:
|
249
|
+
priceTier: Any? = nil,
|
250
250
|
appRatingConfigPath: String? = nil,
|
251
|
-
submissionInformation:
|
252
|
-
teamId:
|
251
|
+
submissionInformation: Any? = nil,
|
252
|
+
teamId: Any? = nil,
|
253
253
|
teamName: String? = nil,
|
254
254
|
devPortalTeamId: String? = nil,
|
255
255
|
devPortalTeamName: String? = nil,
|
256
256
|
itcProvider: String? = nil,
|
257
257
|
runPrecheckBeforeSubmit: Bool = true,
|
258
|
-
precheckDefaultRuleLevel:
|
258
|
+
precheckDefaultRuleLevel: Any = "warn",
|
259
259
|
individualMetadataItems: [String] = [],
|
260
260
|
appIcon: String? = nil,
|
261
261
|
appleWatchAppIcon: String? = nil,
|
@@ -269,20 +269,20 @@ func appstore(username: String,
|
|
269
269
|
tradeRepresentativeContactInformation: [String : Any]? = nil,
|
270
270
|
appReviewInformation: [String : Any]? = nil,
|
271
271
|
appReviewAttachmentFile: String? = nil,
|
272
|
-
description:
|
273
|
-
name:
|
272
|
+
description: Any? = nil,
|
273
|
+
name: Any? = nil,
|
274
274
|
subtitle: [String : Any]? = nil,
|
275
275
|
keywords: [String : Any]? = nil,
|
276
276
|
promotionalText: [String : Any]? = nil,
|
277
|
-
releaseNotes:
|
278
|
-
privacyUrl:
|
279
|
-
appleTvPrivacyPolicy:
|
280
|
-
supportUrl:
|
281
|
-
marketingUrl:
|
277
|
+
releaseNotes: Any? = nil,
|
278
|
+
privacyUrl: Any? = nil,
|
279
|
+
appleTvPrivacyPolicy: Any? = nil,
|
280
|
+
supportUrl: Any? = nil,
|
281
|
+
marketingUrl: Any? = nil,
|
282
282
|
languages: [String]? = nil,
|
283
283
|
ignoreLanguageDirectoryValidation: Bool = false,
|
284
284
|
precheckIncludeInAppPurchases: Bool = true,
|
285
|
-
app:
|
285
|
+
app: Any) {
|
286
286
|
let command = RubyCommand(commandID: "", methodName: "appstore", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
|
287
287
|
RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
288
288
|
RubyCommand.Argument(name: "app_version", value: appVersion),
|
@@ -417,17 +417,17 @@ func backupXcarchive(xcarchive: String,
|
|
417
417
|
RubyCommand.Argument(name: "versioned", value: versioned)])
|
418
418
|
_ = runner.executeCommand(command)
|
419
419
|
}
|
420
|
-
func badge(dark:
|
420
|
+
func badge(dark: Any? = nil,
|
421
421
|
custom: String? = nil,
|
422
|
-
noBadge:
|
422
|
+
noBadge: Any? = nil,
|
423
423
|
shield: String? = nil,
|
424
|
-
alpha:
|
424
|
+
alpha: Any? = nil,
|
425
425
|
path: String = ".",
|
426
|
-
shieldIoTimeout:
|
426
|
+
shieldIoTimeout: Any? = nil,
|
427
427
|
glob: String? = nil,
|
428
|
-
alphaChannel:
|
428
|
+
alphaChannel: Any? = nil,
|
429
429
|
shieldGravity: String? = nil,
|
430
|
-
shieldNoResize:
|
430
|
+
shieldNoResize: Any? = nil) {
|
431
431
|
let command = RubyCommand(commandID: "", methodName: "badge", className: nil, args: [RubyCommand.Argument(name: "dark", value: dark),
|
432
432
|
RubyCommand.Argument(name: "custom", value: custom),
|
433
433
|
RubyCommand.Argument(name: "no_badge", value: noBadge),
|
@@ -459,8 +459,8 @@ func buildAndroidApp(task: String,
|
|
459
459
|
flags: String? = nil,
|
460
460
|
projectDir: String = ".",
|
461
461
|
gradlePath: String? = nil,
|
462
|
-
properties:
|
463
|
-
systemProperties:
|
462
|
+
properties: Any? = nil,
|
463
|
+
systemProperties: Any? = nil,
|
464
464
|
serial: String = "",
|
465
465
|
printCommand: Bool = true,
|
466
466
|
printCommandOutput: Bool = true) {
|
@@ -501,20 +501,20 @@ func buildApp(workspace: String? = nil,
|
|
501
501
|
resultBundlePath: String? = nil,
|
502
502
|
buildlogPath: String = "~/Library/Logs/gym",
|
503
503
|
sdk: String? = nil,
|
504
|
-
toolchain:
|
504
|
+
toolchain: Any? = nil,
|
505
505
|
destination: String? = nil,
|
506
506
|
exportTeamId: String? = nil,
|
507
507
|
xcargs: String? = nil,
|
508
508
|
xcconfig: String? = nil,
|
509
|
-
suppressXcodeOutput:
|
510
|
-
disableXcpretty:
|
511
|
-
xcprettyTestFormat:
|
509
|
+
suppressXcodeOutput: Bool? = nil,
|
510
|
+
disableXcpretty: Any? = nil,
|
511
|
+
xcprettyTestFormat: Any? = nil,
|
512
512
|
xcprettyFormatter: String? = nil,
|
513
513
|
xcprettyReportJunit: String? = nil,
|
514
514
|
xcprettyReportHtml: String? = nil,
|
515
515
|
xcprettyReportJson: String? = nil,
|
516
|
-
analyzeBuildTime:
|
517
|
-
xcprettyUtf:
|
516
|
+
analyzeBuildTime: Any? = nil,
|
517
|
+
xcprettyUtf: Any? = nil,
|
518
518
|
skipProfileDetection: Bool = false) {
|
519
519
|
let command = RubyCommand(commandID: "", methodName: "build_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
520
520
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -581,20 +581,20 @@ func buildIosApp(workspace: String? = nil,
|
|
581
581
|
resultBundlePath: String? = nil,
|
582
582
|
buildlogPath: String = "~/Library/Logs/gym",
|
583
583
|
sdk: String? = nil,
|
584
|
-
toolchain:
|
584
|
+
toolchain: Any? = nil,
|
585
585
|
destination: String? = nil,
|
586
586
|
exportTeamId: String? = nil,
|
587
587
|
xcargs: String? = nil,
|
588
588
|
xcconfig: String? = nil,
|
589
|
-
suppressXcodeOutput:
|
590
|
-
disableXcpretty:
|
591
|
-
xcprettyTestFormat:
|
589
|
+
suppressXcodeOutput: Bool? = nil,
|
590
|
+
disableXcpretty: Any? = nil,
|
591
|
+
xcprettyTestFormat: Any? = nil,
|
592
592
|
xcprettyFormatter: String? = nil,
|
593
593
|
xcprettyReportJunit: String? = nil,
|
594
594
|
xcprettyReportHtml: String? = nil,
|
595
595
|
xcprettyReportJson: String? = nil,
|
596
|
-
analyzeBuildTime:
|
597
|
-
xcprettyUtf:
|
596
|
+
analyzeBuildTime: Any? = nil,
|
597
|
+
xcprettyUtf: Any? = nil,
|
598
598
|
skipProfileDetection: Bool = false) {
|
599
599
|
let command = RubyCommand(commandID: "", methodName: "build_ios_app", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
600
600
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -746,7 +746,7 @@ func captureIosScreenshots(workspace: String? = nil,
|
|
746
746
|
derivedDataPath: String? = nil,
|
747
747
|
resultBundle: Bool = false,
|
748
748
|
testTargetName: String? = nil,
|
749
|
-
namespaceLogFiles:
|
749
|
+
namespaceLogFiles: Any? = nil,
|
750
750
|
concurrentSimulators: Bool = true) {
|
751
751
|
let command = RubyCommand(commandID: "", methodName: "capture_ios_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
752
752
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -814,7 +814,7 @@ func captureScreenshots(workspace: String? = nil,
|
|
814
814
|
derivedDataPath: String? = nil,
|
815
815
|
resultBundle: Bool = false,
|
816
816
|
testTargetName: String? = nil,
|
817
|
-
namespaceLogFiles:
|
817
|
+
namespaceLogFiles: Any? = nil,
|
818
818
|
concurrentSimulators: Bool = true) {
|
819
819
|
let command = RubyCommand(commandID: "", methodName: "capture_screenshots", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
820
820
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -900,7 +900,7 @@ func cert(development: Bool = false,
|
|
900
900
|
outputPath: String = ".",
|
901
901
|
keychainPath: String,
|
902
902
|
keychainPassword: String? = nil,
|
903
|
-
platform:
|
903
|
+
platform: Any = "ios") {
|
904
904
|
let command = RubyCommand(commandID: "", methodName: "cert", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
905
905
|
RubyCommand.Argument(name: "force", value: force),
|
906
906
|
RubyCommand.Argument(name: "username", value: username),
|
@@ -913,7 +913,7 @@ func cert(development: Bool = false,
|
|
913
913
|
RubyCommand.Argument(name: "platform", value: platform)])
|
914
914
|
_ = runner.executeCommand(command)
|
915
915
|
}
|
916
|
-
@discardableResult func changelogFromGitCommits(between:
|
916
|
+
@discardableResult func changelogFromGitCommits(between: Any? = nil,
|
917
917
|
commitsCount: Int? = nil,
|
918
918
|
path: String = "./",
|
919
919
|
pretty: String = "%B",
|
@@ -939,7 +939,7 @@ func cert(development: Bool = false,
|
|
939
939
|
}
|
940
940
|
func chatwork(apiToken: String,
|
941
941
|
message: String,
|
942
|
-
roomid:
|
942
|
+
roomid: Any,
|
943
943
|
success: Bool = true) {
|
944
944
|
let command = RubyCommand(commandID: "", methodName: "chatwork", className: nil, args: [RubyCommand.Argument(name: "api_token", value: apiToken),
|
945
945
|
RubyCommand.Argument(name: "message", value: message),
|
@@ -951,18 +951,18 @@ func checkAppStoreMetadata(appIdentifier: String,
|
|
951
951
|
username: String,
|
952
952
|
teamId: String? = nil,
|
953
953
|
teamName: String? = nil,
|
954
|
-
defaultRuleLevel:
|
954
|
+
defaultRuleLevel: Any = "error",
|
955
955
|
includeInAppPurchases: Bool = true,
|
956
|
-
negativeAppleSentiment:
|
957
|
-
placeholderText:
|
958
|
-
otherPlatforms:
|
959
|
-
futureFunctionality:
|
960
|
-
testWords:
|
961
|
-
curseWords:
|
962
|
-
freeStuffInIap:
|
963
|
-
customText:
|
964
|
-
copyrightDate:
|
965
|
-
unreachableUrls:
|
956
|
+
negativeAppleSentiment: Any? = nil,
|
957
|
+
placeholderText: Any? = nil,
|
958
|
+
otherPlatforms: Any? = nil,
|
959
|
+
futureFunctionality: Any? = nil,
|
960
|
+
testWords: Any? = nil,
|
961
|
+
curseWords: Any? = nil,
|
962
|
+
freeStuffInIap: Any? = nil,
|
963
|
+
customText: Any? = nil,
|
964
|
+
copyrightDate: Any? = nil,
|
965
|
+
unreachableUrls: Any? = nil) {
|
966
966
|
let command = RubyCommand(commandID: "", methodName: "check_app_store_metadata", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
967
967
|
RubyCommand.Argument(name: "username", value: username),
|
968
968
|
RubyCommand.Argument(name: "team_id", value: teamId),
|
@@ -1019,7 +1019,7 @@ func cocoapods(repoUpdate: Bool = false,
|
|
1019
1019
|
ansi: Bool = true,
|
1020
1020
|
useBundleExec: Bool = true,
|
1021
1021
|
podfile: String? = nil,
|
1022
|
-
errorCallback:
|
1022
|
+
errorCallback: Any? = nil,
|
1023
1023
|
tryRepoUpdateOnError: Bool = false,
|
1024
1024
|
clean: Bool = true,
|
1025
1025
|
integrate: Bool = true) {
|
@@ -1055,7 +1055,7 @@ func commitVersionBump(message: String? = nil,
|
|
1055
1055
|
xcodeproj: String? = nil,
|
1056
1056
|
force: Bool = false,
|
1057
1057
|
settings: Bool = false,
|
1058
|
-
ignore:
|
1058
|
+
ignore: Any? = nil,
|
1059
1059
|
include: [String] = [],
|
1060
1060
|
noVerify: Bool = false) {
|
1061
1061
|
let command = RubyCommand(commandID: "", methodName: "commit_version_bump", className: nil, args: [RubyCommand.Argument(name: "message", value: message),
|
@@ -1068,7 +1068,7 @@ func commitVersionBump(message: String? = nil,
|
|
1068
1068
|
_ = runner.executeCommand(command)
|
1069
1069
|
}
|
1070
1070
|
func copyArtifacts(keepOriginal: Bool = true,
|
1071
|
-
targetPath:
|
1071
|
+
targetPath: Any = "artifacts",
|
1072
1072
|
artifacts: [String] = [],
|
1073
1073
|
failOnMissing: Bool = false) {
|
1074
1074
|
let command = RubyCommand(commandID: "", methodName: "copy_artifacts", className: nil, args: [RubyCommand.Argument(name: "keep_original", value: keepOriginal),
|
@@ -1084,8 +1084,8 @@ func crashlytics(ipaPath: String? = nil,
|
|
1084
1084
|
buildSecret: String,
|
1085
1085
|
notesPath: String? = nil,
|
1086
1086
|
notes: String? = nil,
|
1087
|
-
groups:
|
1088
|
-
emails:
|
1087
|
+
groups: Any? = nil,
|
1088
|
+
emails: Any? = nil,
|
1089
1089
|
notifications: Bool = true,
|
1090
1090
|
debug: Bool = false) {
|
1091
1091
|
let command = RubyCommand(commandID: "", methodName: "crashlytics", className: nil, args: [RubyCommand.Argument(name: "ipa_path", value: ipaPath),
|
@@ -1135,7 +1135,7 @@ func createAppOnline(username: String,
|
|
1135
1135
|
skipDevcenter: Bool = false,
|
1136
1136
|
teamId: String? = nil,
|
1137
1137
|
teamName: String? = nil,
|
1138
|
-
itcTeamId:
|
1138
|
+
itcTeamId: Any? = nil,
|
1139
1139
|
itcTeamName: String? = nil) {
|
1140
1140
|
let command = RubyCommand(commandID: "", methodName: "create_app_online", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
|
1141
1141
|
RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
@@ -1235,17 +1235,17 @@ func deleteKeychain(name: String? = nil,
|
|
1235
1235
|
RubyCommand.Argument(name: "keychain_path", value: keychainPath)])
|
1236
1236
|
_ = runner.executeCommand(command)
|
1237
1237
|
}
|
1238
|
-
func deliver(username:
|
1239
|
-
appIdentifier:
|
1240
|
-
appVersion:
|
1241
|
-
ipa:
|
1242
|
-
pkg:
|
1243
|
-
buildNumber:
|
1244
|
-
platform:
|
1238
|
+
func deliver(username: Any = deliverfile.username,
|
1239
|
+
appIdentifier: Any? = deliverfile.appIdentifier,
|
1240
|
+
appVersion: Any? = deliverfile.appVersion,
|
1241
|
+
ipa: Any? = deliverfile.ipa,
|
1242
|
+
pkg: Any? = deliverfile.pkg,
|
1243
|
+
buildNumber: Any? = deliverfile.buildNumber,
|
1244
|
+
platform: Any = deliverfile.platform,
|
1245
1245
|
editLive: Bool = deliverfile.editLive,
|
1246
1246
|
useLiveVersion: Bool = deliverfile.useLiveVersion,
|
1247
|
-
metadataPath:
|
1248
|
-
screenshotsPath:
|
1247
|
+
metadataPath: Any? = deliverfile.metadataPath,
|
1248
|
+
screenshotsPath: Any? = deliverfile.screenshotsPath,
|
1249
1249
|
skipBinaryUpload: Bool = deliverfile.skipBinaryUpload,
|
1250
1250
|
skipScreenshots: Bool = deliverfile.skipScreenshots,
|
1251
1251
|
skipMetadata: Bool = deliverfile.skipMetadata,
|
@@ -1255,46 +1255,46 @@ func deliver(username: String = deliverfile.username,
|
|
1255
1255
|
submitForReview: Bool = deliverfile.submitForReview,
|
1256
1256
|
rejectIfPossible: Bool = deliverfile.rejectIfPossible,
|
1257
1257
|
automaticRelease: Bool = deliverfile.automaticRelease,
|
1258
|
-
autoReleaseDate:
|
1258
|
+
autoReleaseDate: Any? = deliverfile.autoReleaseDate,
|
1259
1259
|
phasedRelease: Bool = deliverfile.phasedRelease,
|
1260
1260
|
resetRatings: Bool = deliverfile.resetRatings,
|
1261
|
-
priceTier:
|
1262
|
-
appRatingConfigPath:
|
1263
|
-
submissionInformation:
|
1264
|
-
teamId:
|
1265
|
-
teamName:
|
1266
|
-
devPortalTeamId:
|
1267
|
-
devPortalTeamName:
|
1268
|
-
itcProvider:
|
1261
|
+
priceTier: Any? = deliverfile.priceTier,
|
1262
|
+
appRatingConfigPath: Any? = deliverfile.appRatingConfigPath,
|
1263
|
+
submissionInformation: Any? = deliverfile.submissionInformation,
|
1264
|
+
teamId: Any? = deliverfile.teamId,
|
1265
|
+
teamName: Any? = deliverfile.teamName,
|
1266
|
+
devPortalTeamId: Any? = deliverfile.devPortalTeamId,
|
1267
|
+
devPortalTeamName: Any? = deliverfile.devPortalTeamName,
|
1268
|
+
itcProvider: Any? = deliverfile.itcProvider,
|
1269
1269
|
runPrecheckBeforeSubmit: Bool = deliverfile.runPrecheckBeforeSubmit,
|
1270
|
-
precheckDefaultRuleLevel:
|
1270
|
+
precheckDefaultRuleLevel: Any = deliverfile.precheckDefaultRuleLevel,
|
1271
1271
|
individualMetadataItems: [String] = deliverfile.individualMetadataItems,
|
1272
|
-
appIcon:
|
1273
|
-
appleWatchAppIcon:
|
1274
|
-
copyright:
|
1275
|
-
primaryCategory:
|
1276
|
-
secondaryCategory:
|
1277
|
-
primaryFirstSubCategory:
|
1278
|
-
primarySecondSubCategory:
|
1279
|
-
secondaryFirstSubCategory:
|
1280
|
-
secondarySecondSubCategory:
|
1272
|
+
appIcon: Any? = deliverfile.appIcon,
|
1273
|
+
appleWatchAppIcon: Any? = deliverfile.appleWatchAppIcon,
|
1274
|
+
copyright: Any? = deliverfile.copyright,
|
1275
|
+
primaryCategory: Any? = deliverfile.primaryCategory,
|
1276
|
+
secondaryCategory: Any? = deliverfile.secondaryCategory,
|
1277
|
+
primaryFirstSubCategory: Any? = deliverfile.primaryFirstSubCategory,
|
1278
|
+
primarySecondSubCategory: Any? = deliverfile.primarySecondSubCategory,
|
1279
|
+
secondaryFirstSubCategory: Any? = deliverfile.secondaryFirstSubCategory,
|
1280
|
+
secondarySecondSubCategory: Any? = deliverfile.secondarySecondSubCategory,
|
1281
1281
|
tradeRepresentativeContactInformation: [String : Any]? = deliverfile.tradeRepresentativeContactInformation,
|
1282
1282
|
appReviewInformation: [String : Any]? = deliverfile.appReviewInformation,
|
1283
|
-
appReviewAttachmentFile:
|
1284
|
-
description:
|
1285
|
-
name:
|
1283
|
+
appReviewAttachmentFile: Any? = deliverfile.appReviewAttachmentFile,
|
1284
|
+
description: Any? = deliverfile.description,
|
1285
|
+
name: Any? = deliverfile.name,
|
1286
1286
|
subtitle: [String : Any]? = deliverfile.subtitle,
|
1287
1287
|
keywords: [String : Any]? = deliverfile.keywords,
|
1288
1288
|
promotionalText: [String : Any]? = deliverfile.promotionalText,
|
1289
|
-
releaseNotes:
|
1290
|
-
privacyUrl:
|
1291
|
-
appleTvPrivacyPolicy:
|
1292
|
-
supportUrl:
|
1293
|
-
marketingUrl:
|
1289
|
+
releaseNotes: Any? = deliverfile.releaseNotes,
|
1290
|
+
privacyUrl: Any? = deliverfile.privacyUrl,
|
1291
|
+
appleTvPrivacyPolicy: Any? = deliverfile.appleTvPrivacyPolicy,
|
1292
|
+
supportUrl: Any? = deliverfile.supportUrl,
|
1293
|
+
marketingUrl: Any? = deliverfile.marketingUrl,
|
1294
1294
|
languages: [String]? = deliverfile.languages,
|
1295
1295
|
ignoreLanguageDirectoryValidation: Bool = deliverfile.ignoreLanguageDirectoryValidation,
|
1296
1296
|
precheckIncludeInAppPurchases: Bool = deliverfile.precheckIncludeInAppPurchases,
|
1297
|
-
app:
|
1297
|
+
app: Any = deliverfile.app) {
|
1298
1298
|
let command = RubyCommand(commandID: "", methodName: "deliver", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
|
1299
1299
|
RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
1300
1300
|
RubyCommand.Argument(name: "app_version", value: appVersion),
|
@@ -1387,7 +1387,7 @@ func download(url: String) {
|
|
1387
1387
|
}
|
1388
1388
|
func downloadDsyms(username: String,
|
1389
1389
|
appIdentifier: String,
|
1390
|
-
teamId:
|
1390
|
+
teamId: Any? = nil,
|
1391
1391
|
teamName: String? = nil,
|
1392
1392
|
platform: String = "ios",
|
1393
1393
|
version: String? = nil,
|
@@ -1452,7 +1452,7 @@ func ensureGitStatusClean(showUncommittedChanges: Bool = false,
|
|
1452
1452
|
func ensureNoDebugCode(text: String,
|
1453
1453
|
path: String = ".",
|
1454
1454
|
`extension`: String? = nil,
|
1455
|
-
extensions:
|
1455
|
+
extensions: Any? = nil,
|
1456
1456
|
exclude: String? = nil,
|
1457
1457
|
excludeDirs: [String]? = nil) {
|
1458
1458
|
let command = RubyCommand(commandID: "", methodName: "ensure_no_debug_code", className: nil, args: [RubyCommand.Argument(name: "text", value: text),
|
@@ -1570,7 +1570,7 @@ func getCertificates(development: Bool = false,
|
|
1570
1570
|
outputPath: String = ".",
|
1571
1571
|
keychainPath: String,
|
1572
1572
|
keychainPassword: String? = nil,
|
1573
|
-
platform:
|
1573
|
+
platform: Any = "ios") {
|
1574
1574
|
let command = RubyCommand(commandID: "", methodName: "get_certificates", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
1575
1575
|
RubyCommand.Argument(name: "force", value: force),
|
1576
1576
|
RubyCommand.Argument(name: "username", value: username),
|
@@ -1628,7 +1628,7 @@ func getProvisioningProfile(adhoc: Bool = false,
|
|
1628
1628
|
filename: String? = nil,
|
1629
1629
|
skipFetchProfiles: Bool = false,
|
1630
1630
|
skipCertificateVerification: Bool = false,
|
1631
|
-
platform:
|
1631
|
+
platform: Any = "ios",
|
1632
1632
|
readonly: Bool = false,
|
1633
1633
|
templateName: String? = nil) {
|
1634
1634
|
let command = RubyCommand(commandID: "", methodName: "get_provisioning_profile", className: nil, args: [RubyCommand.Argument(name: "adhoc", value: adhoc),
|
@@ -1666,7 +1666,7 @@ func getPushCertificate(development: Bool = false,
|
|
1666
1666
|
p12Password: String,
|
1667
1667
|
pemName: String? = nil,
|
1668
1668
|
outputPath: String = ".",
|
1669
|
-
newProfile:
|
1669
|
+
newProfile: Any? = nil) {
|
1670
1670
|
let command = RubyCommand(commandID: "", methodName: "get_push_certificate", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
1671
1671
|
RubyCommand.Argument(name: "website_push", value: websitePush),
|
1672
1672
|
RubyCommand.Argument(name: "generate_p12", value: generateP12),
|
@@ -1691,7 +1691,7 @@ func getPushCertificate(development: Bool = false,
|
|
1691
1691
|
RubyCommand.Argument(name: "configuration", value: configuration)])
|
1692
1692
|
return runner.executeCommand(command)
|
1693
1693
|
}
|
1694
|
-
func gitAdd(path:
|
1694
|
+
func gitAdd(path: Any? = nil,
|
1695
1695
|
shellEscape: Bool = true,
|
1696
1696
|
pathspec: String? = nil) {
|
1697
1697
|
let command = RubyCommand(commandID: "", methodName: "git_add", className: nil, args: [RubyCommand.Argument(name: "path", value: path),
|
@@ -1703,7 +1703,7 @@ func gitAdd(path: String? = nil,
|
|
1703
1703
|
let command = RubyCommand(commandID: "", methodName: "git_branch", className: nil, args: [])
|
1704
1704
|
return runner.executeCommand(command)
|
1705
1705
|
}
|
1706
|
-
func gitCommit(path:
|
1706
|
+
func gitCommit(path: Any,
|
1707
1707
|
message: String,
|
1708
1708
|
skipGitHooks: Bool? = nil,
|
1709
1709
|
allowNothingToCommit: Bool? = nil) {
|
@@ -1777,8 +1777,8 @@ func gradle(task: String,
|
|
1777
1777
|
flags: String? = nil,
|
1778
1778
|
projectDir: String = ".",
|
1779
1779
|
gradlePath: String? = nil,
|
1780
|
-
properties:
|
1781
|
-
systemProperties:
|
1780
|
+
properties: Any? = nil,
|
1781
|
+
systemProperties: Any? = nil,
|
1782
1782
|
serial: String = "",
|
1783
1783
|
printCommand: Bool = true,
|
1784
1784
|
printCommandOutput: Bool = true) {
|
@@ -1795,44 +1795,44 @@ func gradle(task: String,
|
|
1795
1795
|
RubyCommand.Argument(name: "print_command_output", value: printCommandOutput)])
|
1796
1796
|
_ = runner.executeCommand(command)
|
1797
1797
|
}
|
1798
|
-
func gym(workspace:
|
1799
|
-
project:
|
1800
|
-
scheme:
|
1798
|
+
func gym(workspace: Any? = gymfile.workspace,
|
1799
|
+
project: Any? = gymfile.project,
|
1800
|
+
scheme: Any? = gymfile.scheme,
|
1801
1801
|
clean: Bool = gymfile.clean,
|
1802
|
-
outputDirectory:
|
1803
|
-
outputName:
|
1804
|
-
configuration:
|
1802
|
+
outputDirectory: Any = gymfile.outputDirectory,
|
1803
|
+
outputName: Any? = gymfile.outputName,
|
1804
|
+
configuration: Any? = gymfile.configuration,
|
1805
1805
|
silent: Bool = gymfile.silent,
|
1806
|
-
codesigningIdentity:
|
1806
|
+
codesigningIdentity: Any? = gymfile.codesigningIdentity,
|
1807
1807
|
skipPackageIpa: Bool = gymfile.skipPackageIpa,
|
1808
1808
|
includeSymbols: Bool? = gymfile.includeSymbols,
|
1809
1809
|
includeBitcode: Bool? = gymfile.includeBitcode,
|
1810
|
-
exportMethod:
|
1810
|
+
exportMethod: Any? = gymfile.exportMethod,
|
1811
1811
|
exportOptions: [String : Any]? = gymfile.exportOptions,
|
1812
|
-
exportXcargs:
|
1812
|
+
exportXcargs: Any? = gymfile.exportXcargs,
|
1813
1813
|
skipBuildArchive: Bool? = gymfile.skipBuildArchive,
|
1814
1814
|
skipArchive: Bool? = gymfile.skipArchive,
|
1815
|
-
buildPath:
|
1816
|
-
archivePath:
|
1817
|
-
derivedDataPath:
|
1815
|
+
buildPath: Any? = gymfile.buildPath,
|
1816
|
+
archivePath: Any? = gymfile.archivePath,
|
1817
|
+
derivedDataPath: Any? = gymfile.derivedDataPath,
|
1818
1818
|
resultBundle: Bool = gymfile.resultBundle,
|
1819
|
-
resultBundlePath:
|
1820
|
-
buildlogPath:
|
1821
|
-
sdk:
|
1822
|
-
toolchain:
|
1823
|
-
destination:
|
1824
|
-
exportTeamId:
|
1825
|
-
xcargs:
|
1826
|
-
xcconfig:
|
1827
|
-
suppressXcodeOutput:
|
1828
|
-
disableXcpretty:
|
1829
|
-
xcprettyTestFormat:
|
1830
|
-
xcprettyFormatter:
|
1831
|
-
xcprettyReportJunit:
|
1832
|
-
xcprettyReportHtml:
|
1833
|
-
xcprettyReportJson:
|
1834
|
-
analyzeBuildTime:
|
1835
|
-
xcprettyUtf:
|
1819
|
+
resultBundlePath: Any? = gymfile.resultBundlePath,
|
1820
|
+
buildlogPath: Any = gymfile.buildlogPath,
|
1821
|
+
sdk: Any? = gymfile.sdk,
|
1822
|
+
toolchain: Any? = gymfile.toolchain,
|
1823
|
+
destination: Any? = gymfile.destination,
|
1824
|
+
exportTeamId: Any? = gymfile.exportTeamId,
|
1825
|
+
xcargs: Any? = gymfile.xcargs,
|
1826
|
+
xcconfig: Any? = gymfile.xcconfig,
|
1827
|
+
suppressXcodeOutput: Bool? = gymfile.suppressXcodeOutput,
|
1828
|
+
disableXcpretty: Any? = gymfile.disableXcpretty,
|
1829
|
+
xcprettyTestFormat: Any? = gymfile.xcprettyTestFormat,
|
1830
|
+
xcprettyFormatter: Any? = gymfile.xcprettyFormatter,
|
1831
|
+
xcprettyReportJunit: Any? = gymfile.xcprettyReportJunit,
|
1832
|
+
xcprettyReportHtml: Any? = gymfile.xcprettyReportHtml,
|
1833
|
+
xcprettyReportJson: Any? = gymfile.xcprettyReportJson,
|
1834
|
+
analyzeBuildTime: Any? = gymfile.analyzeBuildTime,
|
1835
|
+
xcprettyUtf: Any? = gymfile.xcprettyUtf,
|
1836
1836
|
skipProfileDetection: Bool = gymfile.skipProfileDetection) {
|
1837
1837
|
let command = RubyCommand(commandID: "", methodName: "gym", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
1838
1838
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -2007,7 +2007,7 @@ func importCertificate(certificatePath: String,
|
|
2007
2007
|
RubyCommand.Argument(name: "log_output", value: logOutput)])
|
2008
2008
|
_ = runner.executeCommand(command)
|
2009
2009
|
}
|
2010
|
-
@discardableResult func incrementBuildNumber(buildNumber:
|
2010
|
+
@discardableResult func incrementBuildNumber(buildNumber: Any? = nil,
|
2011
2011
|
xcodeproj: String? = nil) -> String {
|
2012
2012
|
let command = RubyCommand(commandID: "", methodName: "increment_build_number", className: nil, args: [RubyCommand.Argument(name: "build_number", value: buildNumber),
|
2013
2013
|
RubyCommand.Argument(name: "xcodeproj", value: xcodeproj)])
|
@@ -2023,7 +2023,7 @@ func importCertificate(certificatePath: String,
|
|
2023
2023
|
}
|
2024
2024
|
func installOnDevice(extra: String? = nil,
|
2025
2025
|
deviceId: String? = nil,
|
2026
|
-
skipWifi:
|
2026
|
+
skipWifi: Any? = nil,
|
2027
2027
|
ipa: String? = nil) {
|
2028
2028
|
let command = RubyCommand(commandID: "", methodName: "install_on_device", className: nil, args: [RubyCommand.Argument(name: "extra", value: extra),
|
2029
2029
|
RubyCommand.Argument(name: "device_id", value: deviceId),
|
@@ -2057,8 +2057,8 @@ func ipa(workspace: String? = nil,
|
|
2057
2057
|
project: String? = nil,
|
2058
2058
|
configuration: String? = nil,
|
2059
2059
|
scheme: String? = nil,
|
2060
|
-
clean:
|
2061
|
-
archive:
|
2060
|
+
clean: Any? = nil,
|
2061
|
+
archive: Any? = nil,
|
2062
2062
|
destination: String? = nil,
|
2063
2063
|
embed: String? = nil,
|
2064
2064
|
identity: String? = nil,
|
@@ -2121,7 +2121,7 @@ func jira(url: String,
|
|
2121
2121
|
version: String? = nil,
|
2122
2122
|
platform: String = "ios",
|
2123
2123
|
initialBuildNumber: Int = 1,
|
2124
|
-
teamId:
|
2124
|
+
teamId: Any? = nil,
|
2125
2125
|
teamName: String? = nil) -> Int {
|
2126
2126
|
let command = RubyCommand(commandID: "", methodName: "latest_testflight_build_number", className: nil, args: [RubyCommand.Argument(name: "live", value: live),
|
2127
2127
|
RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
@@ -2157,7 +2157,7 @@ func mailgun(mailgunSandboxDomain: String? = nil,
|
|
2157
2157
|
ciBuildLink: String? = nil,
|
2158
2158
|
templatePath: String? = nil,
|
2159
2159
|
replyTo: String? = nil,
|
2160
|
-
attachment:
|
2160
|
+
attachment: Any? = nil,
|
2161
2161
|
customPlaceholders: [String : Any] = [:]) {
|
2162
2162
|
let command = RubyCommand(commandID: "", methodName: "mailgun", className: nil, args: [RubyCommand.Argument(name: "mailgun_sandbox_domain", value: mailgunSandboxDomain),
|
2163
2163
|
RubyCommand.Argument(name: "mailgun_sandbox_postmaster", value: mailgunSandboxPostmaster),
|
@@ -2183,31 +2183,31 @@ func makeChangelogFromJenkins(fallbackChangelog: String = "",
|
|
2183
2183
|
RubyCommand.Argument(name: "include_commit_body", value: includeCommitBody)])
|
2184
2184
|
_ = runner.executeCommand(command)
|
2185
2185
|
}
|
2186
|
-
func match(type:
|
2186
|
+
func match(type: Any = matchfile.type,
|
2187
2187
|
readonly: Bool = matchfile.readonly,
|
2188
2188
|
appIdentifier: [String] = matchfile.appIdentifier,
|
2189
|
-
username:
|
2190
|
-
teamId:
|
2191
|
-
teamName:
|
2192
|
-
storageMode:
|
2193
|
-
gitUrl:
|
2194
|
-
gitBranch:
|
2195
|
-
gitFullName:
|
2196
|
-
gitUserEmail:
|
2189
|
+
username: Any = matchfile.username,
|
2190
|
+
teamId: Any? = matchfile.teamId,
|
2191
|
+
teamName: Any? = matchfile.teamName,
|
2192
|
+
storageMode: Any = matchfile.storageMode,
|
2193
|
+
gitUrl: Any = matchfile.gitUrl,
|
2194
|
+
gitBranch: Any = matchfile.gitBranch,
|
2195
|
+
gitFullName: Any? = matchfile.gitFullName,
|
2196
|
+
gitUserEmail: Any? = matchfile.gitUserEmail,
|
2197
2197
|
shallowClone: Bool = matchfile.shallowClone,
|
2198
2198
|
cloneBranchDirectly: Bool = matchfile.cloneBranchDirectly,
|
2199
|
-
googleCloudBucketName:
|
2200
|
-
googleCloudKeysFile:
|
2201
|
-
googleCloudProjectId:
|
2202
|
-
keychainName:
|
2203
|
-
keychainPassword:
|
2199
|
+
googleCloudBucketName: Any? = matchfile.googleCloudBucketName,
|
2200
|
+
googleCloudKeysFile: Any? = matchfile.googleCloudKeysFile,
|
2201
|
+
googleCloudProjectId: Any? = matchfile.googleCloudProjectId,
|
2202
|
+
keychainName: Any = matchfile.keychainName,
|
2203
|
+
keychainPassword: Any? = matchfile.keychainPassword,
|
2204
2204
|
force: Bool = matchfile.force,
|
2205
2205
|
forceForNewDevices: Bool = matchfile.forceForNewDevices,
|
2206
2206
|
skipConfirmation: Bool = matchfile.skipConfirmation,
|
2207
2207
|
skipDocs: Bool = matchfile.skipDocs,
|
2208
|
-
platform:
|
2209
|
-
templateName:
|
2210
|
-
outputPath:
|
2208
|
+
platform: Any = matchfile.platform,
|
2209
|
+
templateName: Any? = matchfile.templateName,
|
2210
|
+
outputPath: Any? = matchfile.outputPath,
|
2211
2211
|
verbose: Bool = matchfile.verbose) {
|
2212
2212
|
let command = RubyCommand(commandID: "", methodName: "match", className: nil, args: [RubyCommand.Argument(name: "type", value: type),
|
2213
2213
|
RubyCommand.Argument(name: "readonly", value: readonly),
|
@@ -2313,25 +2313,25 @@ func notify() {
|
|
2313
2313
|
let command = RubyCommand(commandID: "", methodName: "notify", className: nil, args: [])
|
2314
2314
|
_ = runner.executeCommand(command)
|
2315
2315
|
}
|
2316
|
-
@discardableResult func numberOfCommits(all:
|
2316
|
+
@discardableResult func numberOfCommits(all: Any? = nil) -> Int {
|
2317
2317
|
let command = RubyCommand(commandID: "", methodName: "number_of_commits", className: nil, args: [RubyCommand.Argument(name: "all", value: all)])
|
2318
2318
|
return parseInt(fromString: runner.executeCommand(command))
|
2319
2319
|
}
|
2320
2320
|
func oclint(oclintPath: String = "oclint",
|
2321
2321
|
compileCommands: String = "compile_commands.json",
|
2322
|
-
selectReqex:
|
2323
|
-
selectRegex:
|
2324
|
-
excludeRegex:
|
2322
|
+
selectReqex: Any? = nil,
|
2323
|
+
selectRegex: Any? = nil,
|
2324
|
+
excludeRegex: Any? = nil,
|
2325
2325
|
reportType: String = "html",
|
2326
2326
|
reportPath: String? = nil,
|
2327
2327
|
listEnabledRules: Bool = false,
|
2328
2328
|
rc: String? = nil,
|
2329
|
-
thresholds:
|
2330
|
-
enableRules:
|
2331
|
-
disableRules:
|
2332
|
-
maxPriority1:
|
2333
|
-
maxPriority2:
|
2334
|
-
maxPriority3:
|
2329
|
+
thresholds: Any? = nil,
|
2330
|
+
enableRules: Any? = nil,
|
2331
|
+
disableRules: Any? = nil,
|
2332
|
+
maxPriority1: Any? = nil,
|
2333
|
+
maxPriority2: Any? = nil,
|
2334
|
+
maxPriority3: Any? = nil,
|
2335
2335
|
enableClangStaticAnalyzer: Bool = false,
|
2336
2336
|
enableGlobalAnalysis: Bool = false,
|
2337
2337
|
allowDuplicatedViolations: Bool = false,
|
@@ -2394,7 +2394,7 @@ func pem(development: Bool = false,
|
|
2394
2394
|
p12Password: String,
|
2395
2395
|
pemName: String? = nil,
|
2396
2396
|
outputPath: String = ".",
|
2397
|
-
newProfile:
|
2397
|
+
newProfile: Any? = nil) {
|
2398
2398
|
let command = RubyCommand(commandID: "", methodName: "pem", className: nil, args: [RubyCommand.Argument(name: "development", value: development),
|
2399
2399
|
RubyCommand.Argument(name: "website_push", value: websitePush),
|
2400
2400
|
RubyCommand.Argument(name: "generate_p12", value: generateP12),
|
@@ -2434,7 +2434,7 @@ func pilot(username: String,
|
|
2434
2434
|
email: String? = nil,
|
2435
2435
|
testersFilePath: String = "./testers.csv",
|
2436
2436
|
groups: [String]? = nil,
|
2437
|
-
teamId:
|
2437
|
+
teamId: Any? = nil,
|
2438
2438
|
teamName: String? = nil,
|
2439
2439
|
devPortalTeamId: String? = nil,
|
2440
2440
|
itcProvider: String? = nil,
|
@@ -2559,13 +2559,13 @@ func podioItem(clientId: String,
|
|
2559
2559
|
RubyCommand.Argument(name: "other_fields", value: otherFields)])
|
2560
2560
|
_ = runner.executeCommand(command)
|
2561
2561
|
}
|
2562
|
-
func precheck(appIdentifier:
|
2563
|
-
username:
|
2564
|
-
teamId:
|
2565
|
-
teamName:
|
2566
|
-
defaultRuleLevel:
|
2562
|
+
func precheck(appIdentifier: Any = precheckfile.appIdentifier,
|
2563
|
+
username: Any = precheckfile.username,
|
2564
|
+
teamId: Any? = precheckfile.teamId,
|
2565
|
+
teamName: Any? = precheckfile.teamName,
|
2566
|
+
defaultRuleLevel: Any = precheckfile.defaultRuleLevel,
|
2567
2567
|
includeInAppPurchases: Bool = precheckfile.includeInAppPurchases,
|
2568
|
-
freeStuffInIap:
|
2568
|
+
freeStuffInIap: Any? = precheckfile.freeStuffInIap) {
|
2569
2569
|
let command = RubyCommand(commandID: "", methodName: "precheck", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
2570
2570
|
RubyCommand.Argument(name: "username", value: username),
|
2571
2571
|
RubyCommand.Argument(name: "team_id", value: teamId),
|
@@ -2595,7 +2595,7 @@ func produce(username: String,
|
|
2595
2595
|
skipDevcenter: Bool = false,
|
2596
2596
|
teamId: String? = nil,
|
2597
2597
|
teamName: String? = nil,
|
2598
|
-
itcTeamId:
|
2598
|
+
itcTeamId: Any? = nil,
|
2599
2599
|
itcTeamName: String? = nil) {
|
2600
2600
|
let command = RubyCommand(commandID: "", methodName: "produce", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
|
2601
2601
|
RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
@@ -2693,11 +2693,11 @@ func registerDevices(devices: [String : Any]? = nil,
|
|
2693
2693
|
RubyCommand.Argument(name: "platform", value: platform)])
|
2694
2694
|
_ = runner.executeCommand(command)
|
2695
2695
|
}
|
2696
|
-
func resetGitRepo(files:
|
2696
|
+
func resetGitRepo(files: Any? = nil,
|
2697
2697
|
force: Bool = false,
|
2698
2698
|
skipClean: Bool = false,
|
2699
2699
|
disregardGitignore: Bool = true,
|
2700
|
-
exclude:
|
2700
|
+
exclude: Any? = nil) {
|
2701
2701
|
let command = RubyCommand(commandID: "", methodName: "reset_git_repo", className: nil, args: [RubyCommand.Argument(name: "files", value: files),
|
2702
2702
|
RubyCommand.Argument(name: "force", value: force),
|
2703
2703
|
RubyCommand.Argument(name: "skip_clean", value: skipClean),
|
@@ -2714,13 +2714,13 @@ func resetSimulatorContents(ios: [String]? = nil,
|
|
2714
2714
|
func resign(ipa: String,
|
2715
2715
|
signingIdentity: String,
|
2716
2716
|
entitlements: String? = nil,
|
2717
|
-
provisioningProfile:
|
2717
|
+
provisioningProfile: Any,
|
2718
2718
|
version: String? = nil,
|
2719
2719
|
displayName: String? = nil,
|
2720
2720
|
shortVersion: String? = nil,
|
2721
2721
|
bundleVersion: String? = nil,
|
2722
2722
|
bundleId: String? = nil,
|
2723
|
-
useAppEntitlements:
|
2723
|
+
useAppEntitlements: Any? = nil,
|
2724
2724
|
keychainPath: String? = nil) {
|
2725
2725
|
let command = RubyCommand(commandID: "", methodName: "resign", className: nil, args: [RubyCommand.Argument(name: "ipa", value: ipa),
|
2726
2726
|
RubyCommand.Argument(name: "signing_identity", value: signingIdentity),
|
@@ -2774,10 +2774,10 @@ func runTests(workspace: String? = nil,
|
|
2774
2774
|
prelaunchSimulator: Bool? = nil,
|
2775
2775
|
reinstallApp: Bool = false,
|
2776
2776
|
appIdentifier: String? = nil,
|
2777
|
-
onlyTesting:
|
2778
|
-
skipTesting:
|
2777
|
+
onlyTesting: Any? = nil,
|
2778
|
+
skipTesting: Any? = nil,
|
2779
2779
|
xctestrun: String? = nil,
|
2780
|
-
toolchain:
|
2780
|
+
toolchain: Any? = nil,
|
2781
2781
|
clean: Bool = false,
|
2782
2782
|
codeCoverage: Bool? = nil,
|
2783
2783
|
addressSanitizer: Bool? = nil,
|
@@ -2789,7 +2789,7 @@ func runTests(workspace: String? = nil,
|
|
2789
2789
|
outputFiles: String? = nil,
|
2790
2790
|
buildlogPath: String = "~/Library/Logs/scan",
|
2791
2791
|
includeSimulatorLogs: Bool = false,
|
2792
|
-
suppressXcodeOutput:
|
2792
|
+
suppressXcodeOutput: Bool? = nil,
|
2793
2793
|
formatter: String? = nil,
|
2794
2794
|
xcprettyArgs: String? = nil,
|
2795
2795
|
derivedDataPath: String? = nil,
|
@@ -2813,7 +2813,7 @@ func runTests(workspace: String? = nil,
|
|
2813
2813
|
slackIconUrl: String = "https://s3-eu-west-1.amazonaws.com/fastlane.tools/fastlane.png",
|
2814
2814
|
skipSlack: Bool = false,
|
2815
2815
|
slackOnlyOnFailure: Bool = false,
|
2816
|
-
destination:
|
2816
|
+
destination: Any? = nil,
|
2817
2817
|
customReportFileName: String? = nil,
|
2818
2818
|
xcodebuildCommand: String = "env NSUnbufferedIO=YES xcodebuild",
|
2819
2819
|
failBuild: Bool = true) {
|
@@ -2907,42 +2907,42 @@ func s3(ipa: String? = nil,
|
|
2907
2907
|
RubyCommand.Argument(name: "acl", value: acl)])
|
2908
2908
|
_ = runner.executeCommand(command)
|
2909
2909
|
}
|
2910
|
-
func say(text:
|
2910
|
+
func say(text: Any,
|
2911
2911
|
mute: Bool = false) {
|
2912
2912
|
let command = RubyCommand(commandID: "", methodName: "say", className: nil, args: [RubyCommand.Argument(name: "text", value: text),
|
2913
2913
|
RubyCommand.Argument(name: "mute", value: mute)])
|
2914
2914
|
_ = runner.executeCommand(command)
|
2915
2915
|
}
|
2916
|
-
func scan(workspace:
|
2917
|
-
project:
|
2918
|
-
scheme:
|
2919
|
-
device:
|
2916
|
+
func scan(workspace: Any? = scanfile.workspace,
|
2917
|
+
project: Any? = scanfile.project,
|
2918
|
+
scheme: Any? = scanfile.scheme,
|
2919
|
+
device: Any? = scanfile.device,
|
2920
2920
|
devices: [String]? = scanfile.devices,
|
2921
2921
|
skipDetectDevices: Bool = scanfile.skipDetectDevices,
|
2922
2922
|
forceQuitSimulator: Bool = scanfile.forceQuitSimulator,
|
2923
2923
|
resetSimulator: Bool = scanfile.resetSimulator,
|
2924
2924
|
prelaunchSimulator: Bool? = scanfile.prelaunchSimulator,
|
2925
2925
|
reinstallApp: Bool = scanfile.reinstallApp,
|
2926
|
-
appIdentifier:
|
2927
|
-
onlyTesting:
|
2928
|
-
skipTesting:
|
2929
|
-
xctestrun:
|
2930
|
-
toolchain:
|
2926
|
+
appIdentifier: Any? = scanfile.appIdentifier,
|
2927
|
+
onlyTesting: Any? = scanfile.onlyTesting,
|
2928
|
+
skipTesting: Any? = scanfile.skipTesting,
|
2929
|
+
xctestrun: Any? = scanfile.xctestrun,
|
2930
|
+
toolchain: Any? = scanfile.toolchain,
|
2931
2931
|
clean: Bool = scanfile.clean,
|
2932
2932
|
codeCoverage: Bool? = scanfile.codeCoverage,
|
2933
2933
|
addressSanitizer: Bool? = scanfile.addressSanitizer,
|
2934
2934
|
threadSanitizer: Bool? = scanfile.threadSanitizer,
|
2935
2935
|
openReport: Bool = scanfile.openReport,
|
2936
|
-
outputDirectory:
|
2937
|
-
outputStyle:
|
2938
|
-
outputTypes:
|
2939
|
-
outputFiles:
|
2940
|
-
buildlogPath:
|
2936
|
+
outputDirectory: Any = scanfile.outputDirectory,
|
2937
|
+
outputStyle: Any? = scanfile.outputStyle,
|
2938
|
+
outputTypes: Any = scanfile.outputTypes,
|
2939
|
+
outputFiles: Any? = scanfile.outputFiles,
|
2940
|
+
buildlogPath: Any = scanfile.buildlogPath,
|
2941
2941
|
includeSimulatorLogs: Bool = scanfile.includeSimulatorLogs,
|
2942
|
-
suppressXcodeOutput:
|
2943
|
-
formatter:
|
2944
|
-
xcprettyArgs:
|
2945
|
-
derivedDataPath:
|
2942
|
+
suppressXcodeOutput: Bool? = scanfile.suppressXcodeOutput,
|
2943
|
+
formatter: Any? = scanfile.formatter,
|
2944
|
+
xcprettyArgs: Any? = scanfile.xcprettyArgs,
|
2945
|
+
derivedDataPath: Any? = scanfile.derivedDataPath,
|
2946
2946
|
shouldZipBuildProducts: Bool = scanfile.shouldZipBuildProducts,
|
2947
2947
|
resultBundle: Bool = scanfile.resultBundle,
|
2948
2948
|
useClangReportName: Bool = scanfile.useClangReportName,
|
@@ -2951,21 +2951,21 @@ func scan(workspace: String? = scanfile.workspace,
|
|
2951
2951
|
skipBuild: Bool = scanfile.skipBuild,
|
2952
2952
|
testWithoutBuilding: Bool? = scanfile.testWithoutBuilding,
|
2953
2953
|
buildForTesting: Bool? = scanfile.buildForTesting,
|
2954
|
-
sdk:
|
2955
|
-
configuration:
|
2956
|
-
xcargs:
|
2957
|
-
xcconfig:
|
2958
|
-
slackUrl:
|
2959
|
-
slackChannel:
|
2960
|
-
slackMessage:
|
2954
|
+
sdk: Any? = scanfile.sdk,
|
2955
|
+
configuration: Any? = scanfile.configuration,
|
2956
|
+
xcargs: Any? = scanfile.xcargs,
|
2957
|
+
xcconfig: Any? = scanfile.xcconfig,
|
2958
|
+
slackUrl: Any? = scanfile.slackUrl,
|
2959
|
+
slackChannel: Any? = scanfile.slackChannel,
|
2960
|
+
slackMessage: Any? = scanfile.slackMessage,
|
2961
2961
|
slackUseWebhookConfiguredUsernameAndIcon: Bool = scanfile.slackUseWebhookConfiguredUsernameAndIcon,
|
2962
|
-
slackUsername:
|
2963
|
-
slackIconUrl:
|
2962
|
+
slackUsername: Any = scanfile.slackUsername,
|
2963
|
+
slackIconUrl: Any = scanfile.slackIconUrl,
|
2964
2964
|
skipSlack: Bool = scanfile.skipSlack,
|
2965
2965
|
slackOnlyOnFailure: Bool = scanfile.slackOnlyOnFailure,
|
2966
|
-
destination:
|
2967
|
-
customReportFileName:
|
2968
|
-
xcodebuildCommand:
|
2966
|
+
destination: Any? = scanfile.destination,
|
2967
|
+
customReportFileName: Any? = scanfile.customReportFileName,
|
2968
|
+
xcodebuildCommand: Any = scanfile.xcodebuildCommand,
|
2969
2969
|
failBuild: Bool = scanfile.failBuild) {
|
2970
2970
|
let command = RubyCommand(commandID: "", methodName: "scan", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
2971
2971
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -3037,23 +3037,23 @@ func scp(username: String,
|
|
3037
3037
|
RubyCommand.Argument(name: "download", value: download)])
|
3038
3038
|
_ = runner.executeCommand(command)
|
3039
3039
|
}
|
3040
|
-
func screengrab(androidHome:
|
3041
|
-
buildToolsVersion:
|
3040
|
+
func screengrab(androidHome: Any? = screengrabfile.androidHome,
|
3041
|
+
buildToolsVersion: Any? = screengrabfile.buildToolsVersion,
|
3042
3042
|
locales: [String] = screengrabfile.locales,
|
3043
3043
|
clearPreviousScreenshots: Bool = screengrabfile.clearPreviousScreenshots,
|
3044
|
-
outputDirectory:
|
3044
|
+
outputDirectory: Any = screengrabfile.outputDirectory,
|
3045
3045
|
skipOpenSummary: Bool = screengrabfile.skipOpenSummary,
|
3046
|
-
appPackageName:
|
3047
|
-
testsPackageName:
|
3046
|
+
appPackageName: Any = screengrabfile.appPackageName,
|
3047
|
+
testsPackageName: Any? = screengrabfile.testsPackageName,
|
3048
3048
|
useTestsInPackages: [String]? = screengrabfile.useTestsInPackages,
|
3049
3049
|
useTestsInClasses: [String]? = screengrabfile.useTestsInClasses,
|
3050
3050
|
launchArguments: [String]? = screengrabfile.launchArguments,
|
3051
|
-
testInstrumentationRunner:
|
3052
|
-
endingLocale:
|
3053
|
-
appApkPath:
|
3054
|
-
testsApkPath:
|
3055
|
-
specificDevice:
|
3056
|
-
deviceType:
|
3051
|
+
testInstrumentationRunner: Any = screengrabfile.testInstrumentationRunner,
|
3052
|
+
endingLocale: Any = screengrabfile.endingLocale,
|
3053
|
+
appApkPath: Any? = screengrabfile.appApkPath,
|
3054
|
+
testsApkPath: Any? = screengrabfile.testsApkPath,
|
3055
|
+
specificDevice: Any? = screengrabfile.specificDevice,
|
3056
|
+
deviceType: Any = screengrabfile.deviceType,
|
3057
3057
|
exitOnTestFailure: Bool = screengrabfile.exitOnTestFailure,
|
3058
3058
|
reinstallApp: Bool = screengrabfile.reinstallApp) {
|
3059
3059
|
let command = RubyCommand(commandID: "", methodName: "screengrab", className: nil, args: [RubyCommand.Argument(name: "android_home", value: androidHome),
|
@@ -3087,7 +3087,7 @@ func setChangelog(appIdentifier: String,
|
|
3087
3087
|
username: String,
|
3088
3088
|
version: String? = nil,
|
3089
3089
|
changelog: String? = nil,
|
3090
|
-
teamId:
|
3090
|
+
teamId: Any? = nil,
|
3091
3091
|
teamName: String? = nil,
|
3092
3092
|
platform: String = "ios") {
|
3093
3093
|
let command = RubyCommand(commandID: "", methodName: "set_changelog", className: nil, args: [RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
@@ -3123,7 +3123,7 @@ func setChangelog(appIdentifier: String,
|
|
3123
3123
|
}
|
3124
3124
|
func setInfoPlistValue(key: String,
|
3125
3125
|
subkey: String? = nil,
|
3126
|
-
value:
|
3126
|
+
value: Any,
|
3127
3127
|
path: String,
|
3128
3128
|
outputFileName: String? = nil) {
|
3129
3129
|
let command = RubyCommand(commandID: "", methodName: "set_info_plist_value", className: nil, args: [RubyCommand.Argument(name: "key", value: key),
|
@@ -3155,7 +3155,7 @@ func setupCircleCi(force: Bool = false) {
|
|
3155
3155
|
}
|
3156
3156
|
func setupJenkins(force: Bool = false,
|
3157
3157
|
unlockKeychain: Bool = true,
|
3158
|
-
addKeychainToSearchList:
|
3158
|
+
addKeychainToSearchList: Any = "replace",
|
3159
3159
|
setDefaultKeychain: Bool = true,
|
3160
3160
|
keychainPath: String? = nil,
|
3161
3161
|
keychainPassword: String,
|
@@ -3183,7 +3183,7 @@ func setupTravis(force: Bool = false) {
|
|
3183
3183
|
}
|
3184
3184
|
@discardableResult func sh(command: String,
|
3185
3185
|
log: Bool = true,
|
3186
|
-
errorCallback:
|
3186
|
+
errorCallback: Any? = nil) -> String {
|
3187
3187
|
let command = RubyCommand(commandID: "", methodName: "sh", className: nil, args: [RubyCommand.Argument(name: "command", value: command),
|
3188
3188
|
RubyCommand.Argument(name: "log", value: log),
|
3189
3189
|
RubyCommand.Argument(name: "error_callback", value: errorCallback)])
|
@@ -3206,7 +3206,7 @@ func sigh(adhoc: Bool = false,
|
|
3206
3206
|
filename: String? = nil,
|
3207
3207
|
skipFetchProfiles: Bool = false,
|
3208
3208
|
skipCertificateVerification: Bool = false,
|
3209
|
-
platform:
|
3209
|
+
platform: Any = "ios",
|
3210
3210
|
readonly: Bool = false,
|
3211
3211
|
templateName: String? = nil) {
|
3212
3212
|
let command = RubyCommand(commandID: "", methodName: "sigh", className: nil, args: [RubyCommand.Argument(name: "adhoc", value: adhoc),
|
@@ -3297,12 +3297,12 @@ func slather(buildDirectory: String? = nil,
|
|
3297
3297
|
simpleOutput: Bool? = nil,
|
3298
3298
|
gutterJson: Bool? = nil,
|
3299
3299
|
coberturaXml: Bool? = nil,
|
3300
|
-
llvmCov:
|
3300
|
+
llvmCov: Any? = nil,
|
3301
3301
|
html: Bool? = nil,
|
3302
3302
|
show: Bool = false,
|
3303
3303
|
sourceDirectory: String? = nil,
|
3304
3304
|
outputDirectory: String? = nil,
|
3305
|
-
ignore:
|
3305
|
+
ignore: Any? = nil,
|
3306
3306
|
verbose: Bool? = nil,
|
3307
3307
|
useBundleExec: Bool = false,
|
3308
3308
|
binaryBasename: Bool = false,
|
@@ -3341,38 +3341,38 @@ func slather(buildDirectory: String? = nil,
|
|
3341
3341
|
RubyCommand.Argument(name: "decimals", value: decimals)])
|
3342
3342
|
_ = runner.executeCommand(command)
|
3343
3343
|
}
|
3344
|
-
func snapshot(workspace:
|
3345
|
-
project:
|
3346
|
-
xcargs:
|
3347
|
-
xcconfig:
|
3344
|
+
func snapshot(workspace: Any? = snapshotfile.workspace,
|
3345
|
+
project: Any? = snapshotfile.project,
|
3346
|
+
xcargs: Any? = snapshotfile.xcargs,
|
3347
|
+
xcconfig: Any? = snapshotfile.xcconfig,
|
3348
3348
|
devices: [String]? = snapshotfile.devices,
|
3349
3349
|
languages: [String] = snapshotfile.languages,
|
3350
3350
|
launchArguments: [String] = snapshotfile.launchArguments,
|
3351
|
-
outputDirectory:
|
3351
|
+
outputDirectory: Any = snapshotfile.outputDirectory,
|
3352
3352
|
outputSimulatorLogs: Bool = snapshotfile.outputSimulatorLogs,
|
3353
|
-
iosVersion:
|
3353
|
+
iosVersion: Any? = snapshotfile.iosVersion,
|
3354
3354
|
skipOpenSummary: Bool = snapshotfile.skipOpenSummary,
|
3355
3355
|
skipHelperVersionCheck: Bool = snapshotfile.skipHelperVersionCheck,
|
3356
3356
|
clearPreviousScreenshots: Bool = snapshotfile.clearPreviousScreenshots,
|
3357
3357
|
reinstallApp: Bool = snapshotfile.reinstallApp,
|
3358
3358
|
eraseSimulator: Bool = snapshotfile.eraseSimulator,
|
3359
3359
|
localizeSimulator: Bool = snapshotfile.localizeSimulator,
|
3360
|
-
appIdentifier:
|
3360
|
+
appIdentifier: Any? = snapshotfile.appIdentifier,
|
3361
3361
|
addPhotos: [String]? = snapshotfile.addPhotos,
|
3362
3362
|
addVideos: [String]? = snapshotfile.addVideos,
|
3363
|
-
buildlogPath:
|
3363
|
+
buildlogPath: Any = snapshotfile.buildlogPath,
|
3364
3364
|
clean: Bool = snapshotfile.clean,
|
3365
3365
|
testWithoutBuilding: Bool? = snapshotfile.testWithoutBuilding,
|
3366
|
-
configuration:
|
3367
|
-
xcprettyArgs:
|
3368
|
-
sdk:
|
3369
|
-
scheme:
|
3366
|
+
configuration: Any? = snapshotfile.configuration,
|
3367
|
+
xcprettyArgs: Any? = snapshotfile.xcprettyArgs,
|
3368
|
+
sdk: Any? = snapshotfile.sdk,
|
3369
|
+
scheme: Any? = snapshotfile.scheme,
|
3370
3370
|
numberOfRetries: Int = snapshotfile.numberOfRetries,
|
3371
3371
|
stopAfterFirstError: Bool = snapshotfile.stopAfterFirstError,
|
3372
|
-
derivedDataPath:
|
3372
|
+
derivedDataPath: Any? = snapshotfile.derivedDataPath,
|
3373
3373
|
resultBundle: Bool = snapshotfile.resultBundle,
|
3374
|
-
testTargetName:
|
3375
|
-
namespaceLogFiles:
|
3374
|
+
testTargetName: Any? = snapshotfile.testTargetName,
|
3375
|
+
namespaceLogFiles: Any? = snapshotfile.namespaceLogFiles,
|
3376
3376
|
concurrentSimulators: Bool = snapshotfile.concurrentSimulators) {
|
3377
3377
|
let command = RubyCommand(commandID: "", methodName: "snapshot", className: nil, args: [RubyCommand.Argument(name: "workspace", value: workspace),
|
3378
3378
|
RubyCommand.Argument(name: "project", value: project),
|
@@ -3419,7 +3419,10 @@ func sonar(projectConfigurationPath: String? = nil,
|
|
3419
3419
|
sonarRunnerArgs: String? = nil,
|
3420
3420
|
sonarLogin: String? = nil,
|
3421
3421
|
sonarUrl: String? = nil,
|
3422
|
-
branchName: String? = nil
|
3422
|
+
branchName: String? = nil,
|
3423
|
+
pullRequestBranch: String? = nil,
|
3424
|
+
pullRequestBase: String? = nil,
|
3425
|
+
pullRequestKey: String? = nil) {
|
3423
3426
|
let command = RubyCommand(commandID: "", methodName: "sonar", className: nil, args: [RubyCommand.Argument(name: "project_configuration_path", value: projectConfigurationPath),
|
3424
3427
|
RubyCommand.Argument(name: "project_key", value: projectKey),
|
3425
3428
|
RubyCommand.Argument(name: "project_name", value: projectName),
|
@@ -3430,7 +3433,10 @@ func sonar(projectConfigurationPath: String? = nil,
|
|
3430
3433
|
RubyCommand.Argument(name: "sonar_runner_args", value: sonarRunnerArgs),
|
3431
3434
|
RubyCommand.Argument(name: "sonar_login", value: sonarLogin),
|
3432
3435
|
RubyCommand.Argument(name: "sonar_url", value: sonarUrl),
|
3433
|
-
RubyCommand.Argument(name: "branch_name", value: branchName)
|
3436
|
+
RubyCommand.Argument(name: "branch_name", value: branchName),
|
3437
|
+
RubyCommand.Argument(name: "pull_request_branch", value: pullRequestBranch),
|
3438
|
+
RubyCommand.Argument(name: "pull_request_base", value: pullRequestBase),
|
3439
|
+
RubyCommand.Argument(name: "pull_request_key", value: pullRequestKey)])
|
3434
3440
|
_ = runner.executeCommand(command)
|
3435
3441
|
}
|
3436
3442
|
func spaceshipLogs(latest: Bool = true,
|
@@ -3557,12 +3563,12 @@ func supply(packageName: String,
|
|
3557
3563
|
RubyCommand.Argument(name: "obb_patch_file_size", value: obbPatchFileSize)])
|
3558
3564
|
_ = runner.executeCommand(command)
|
3559
3565
|
}
|
3560
|
-
func swiftlint(mode:
|
3566
|
+
func swiftlint(mode: Any = "lint",
|
3561
3567
|
path: String? = nil,
|
3562
3568
|
outputFile: String? = nil,
|
3563
3569
|
configFile: String? = nil,
|
3564
3570
|
strict: Bool = false,
|
3565
|
-
files:
|
3571
|
+
files: Any? = nil,
|
3566
3572
|
ignoreExitStatus: Bool = false,
|
3567
3573
|
reporter: String? = nil,
|
3568
3574
|
quiet: Bool = false,
|
@@ -3605,7 +3611,7 @@ func syncCodeSigning(type: String = "development",
|
|
3605
3611
|
forceForNewDevices: Bool = false,
|
3606
3612
|
skipConfirmation: Bool = false,
|
3607
3613
|
skipDocs: Bool = false,
|
3608
|
-
platform:
|
3614
|
+
platform: Any = "ios",
|
3609
3615
|
templateName: String? = nil,
|
3610
3616
|
outputPath: String? = nil,
|
3611
3617
|
verbose: Bool = false) {
|
@@ -3694,7 +3700,7 @@ func testflight(username: String,
|
|
3694
3700
|
email: String? = nil,
|
3695
3701
|
testersFilePath: String = "./testers.csv",
|
3696
3702
|
groups: [String]? = nil,
|
3697
|
-
teamId:
|
3703
|
+
teamId: Any? = nil,
|
3698
3704
|
teamName: String? = nil,
|
3699
3705
|
devPortalTeamId: String? = nil,
|
3700
3706
|
itcProvider: String? = nil,
|
@@ -3776,7 +3782,7 @@ func unlockKeychain(path: String = "login",
|
|
3776
3782
|
_ = runner.executeCommand(command)
|
3777
3783
|
}
|
3778
3784
|
func updateAppGroupIdentifiers(entitlementsFile: String,
|
3779
|
-
appGroupIdentifiers:
|
3785
|
+
appGroupIdentifiers: Any) {
|
3780
3786
|
let command = RubyCommand(commandID: "", methodName: "update_app_group_identifiers", className: nil, args: [RubyCommand.Argument(name: "entitlements_file", value: entitlementsFile),
|
3781
3787
|
RubyCommand.Argument(name: "app_group_identifiers", value: appGroupIdentifiers)])
|
3782
3788
|
_ = runner.executeCommand(command)
|
@@ -3798,7 +3804,7 @@ func updateFastlane(nightly: Bool = false,
|
|
3798
3804
|
_ = runner.executeCommand(command)
|
3799
3805
|
}
|
3800
3806
|
func updateIcloudContainerIdentifiers(entitlementsFile: String,
|
3801
|
-
icloudContainerIdentifiers:
|
3807
|
+
icloudContainerIdentifiers: Any) {
|
3802
3808
|
let command = RubyCommand(commandID: "", methodName: "update_icloud_container_identifiers", className: nil, args: [RubyCommand.Argument(name: "entitlements_file", value: entitlementsFile),
|
3803
3809
|
RubyCommand.Argument(name: "icloud_container_identifiers", value: icloudContainerIdentifiers)])
|
3804
3810
|
_ = runner.executeCommand(command)
|
@@ -3808,7 +3814,7 @@ func updateInfoPlist(xcodeproj: String? = nil,
|
|
3808
3814
|
scheme: String? = nil,
|
3809
3815
|
appIdentifier: String? = nil,
|
3810
3816
|
displayName: String? = nil,
|
3811
|
-
block:
|
3817
|
+
block: Any? = nil) {
|
3812
3818
|
let command = RubyCommand(commandID: "", methodName: "update_info_plist", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
|
3813
3819
|
RubyCommand.Argument(name: "plist_path", value: plistPath),
|
3814
3820
|
RubyCommand.Argument(name: "scheme", value: scheme),
|
@@ -3818,7 +3824,7 @@ func updateInfoPlist(xcodeproj: String? = nil,
|
|
3818
3824
|
_ = runner.executeCommand(command)
|
3819
3825
|
}
|
3820
3826
|
func updatePlist(plistPath: String? = nil,
|
3821
|
-
block:
|
3827
|
+
block: Any) {
|
3822
3828
|
let command = RubyCommand(commandID: "", methodName: "update_plist", className: nil, args: [RubyCommand.Argument(name: "plist_path", value: plistPath),
|
3823
3829
|
RubyCommand.Argument(name: "block", value: block)])
|
3824
3830
|
_ = runner.executeCommand(command)
|
@@ -3833,9 +3839,9 @@ func updateProjectCodeSigning(path: String,
|
|
3833
3839
|
}
|
3834
3840
|
func updateProjectProvisioning(xcodeproj: String? = nil,
|
3835
3841
|
profile: String,
|
3836
|
-
targetFilter:
|
3842
|
+
targetFilter: Any? = nil,
|
3837
3843
|
buildConfigurationFilter: String? = nil,
|
3838
|
-
buildConfiguration:
|
3844
|
+
buildConfiguration: Any? = nil,
|
3839
3845
|
certificate: String = "/tmp/AppleIncRootCertificate.cer",
|
3840
3846
|
codeSigningIdentity: String? = nil) {
|
3841
3847
|
let command = RubyCommand(commandID: "", methodName: "update_project_provisioning", className: nil, args: [RubyCommand.Argument(name: "xcodeproj", value: xcodeproj),
|
@@ -3870,8 +3876,8 @@ func updateUrbanAirshipConfiguration(plistPath: String,
|
|
3870
3876
|
_ = runner.executeCommand(command)
|
3871
3877
|
}
|
3872
3878
|
func updateUrlSchemes(path: String,
|
3873
|
-
urlSchemes:
|
3874
|
-
updateUrlSchemes:
|
3879
|
+
urlSchemes: Any? = nil,
|
3880
|
+
updateUrlSchemes: Any? = nil) {
|
3875
3881
|
let command = RubyCommand(commandID: "", methodName: "update_url_schemes", className: nil, args: [RubyCommand.Argument(name: "path", value: path),
|
3876
3882
|
RubyCommand.Argument(name: "url_schemes", value: urlSchemes),
|
3877
3883
|
RubyCommand.Argument(name: "update_url_schemes", value: updateUrlSchemes)])
|
@@ -3899,7 +3905,7 @@ func uploadSymbolsToSentry(apiHost: String = "https://app.getsentry.com/api/0",
|
|
3899
3905
|
orgSlug: String,
|
3900
3906
|
projectSlug: String,
|
3901
3907
|
dsymPath: String? = nil,
|
3902
|
-
dsymPaths:
|
3908
|
+
dsymPaths: Any? = nil) {
|
3903
3909
|
let command = RubyCommand(commandID: "", methodName: "upload_symbols_to_sentry", className: nil, args: [RubyCommand.Argument(name: "api_host", value: apiHost),
|
3904
3910
|
RubyCommand.Argument(name: "api_key", value: apiKey),
|
3905
3911
|
RubyCommand.Argument(name: "auth_token", value: authToken),
|
@@ -3929,19 +3935,19 @@ func uploadToAppStore(username: String,
|
|
3929
3935
|
submitForReview: Bool = false,
|
3930
3936
|
rejectIfPossible: Bool = false,
|
3931
3937
|
automaticRelease: Bool = false,
|
3932
|
-
autoReleaseDate:
|
3938
|
+
autoReleaseDate: Any? = nil,
|
3933
3939
|
phasedRelease: Bool = false,
|
3934
3940
|
resetRatings: Bool = false,
|
3935
|
-
priceTier:
|
3941
|
+
priceTier: Any? = nil,
|
3936
3942
|
appRatingConfigPath: String? = nil,
|
3937
|
-
submissionInformation:
|
3938
|
-
teamId:
|
3943
|
+
submissionInformation: Any? = nil,
|
3944
|
+
teamId: Any? = nil,
|
3939
3945
|
teamName: String? = nil,
|
3940
3946
|
devPortalTeamId: String? = nil,
|
3941
3947
|
devPortalTeamName: String? = nil,
|
3942
3948
|
itcProvider: String? = nil,
|
3943
3949
|
runPrecheckBeforeSubmit: Bool = true,
|
3944
|
-
precheckDefaultRuleLevel:
|
3950
|
+
precheckDefaultRuleLevel: Any = "warn",
|
3945
3951
|
individualMetadataItems: [String] = [],
|
3946
3952
|
appIcon: String? = nil,
|
3947
3953
|
appleWatchAppIcon: String? = nil,
|
@@ -3955,20 +3961,20 @@ func uploadToAppStore(username: String,
|
|
3955
3961
|
tradeRepresentativeContactInformation: [String : Any]? = nil,
|
3956
3962
|
appReviewInformation: [String : Any]? = nil,
|
3957
3963
|
appReviewAttachmentFile: String? = nil,
|
3958
|
-
description:
|
3959
|
-
name:
|
3964
|
+
description: Any? = nil,
|
3965
|
+
name: Any? = nil,
|
3960
3966
|
subtitle: [String : Any]? = nil,
|
3961
3967
|
keywords: [String : Any]? = nil,
|
3962
3968
|
promotionalText: [String : Any]? = nil,
|
3963
|
-
releaseNotes:
|
3964
|
-
privacyUrl:
|
3965
|
-
appleTvPrivacyPolicy:
|
3966
|
-
supportUrl:
|
3967
|
-
marketingUrl:
|
3969
|
+
releaseNotes: Any? = nil,
|
3970
|
+
privacyUrl: Any? = nil,
|
3971
|
+
appleTvPrivacyPolicy: Any? = nil,
|
3972
|
+
supportUrl: Any? = nil,
|
3973
|
+
marketingUrl: Any? = nil,
|
3968
3974
|
languages: [String]? = nil,
|
3969
3975
|
ignoreLanguageDirectoryValidation: Bool = false,
|
3970
3976
|
precheckIncludeInAppPurchases: Bool = true,
|
3971
|
-
app:
|
3977
|
+
app: Any) {
|
3972
3978
|
let command = RubyCommand(commandID: "", methodName: "upload_to_app_store", className: nil, args: [RubyCommand.Argument(name: "username", value: username),
|
3973
3979
|
RubyCommand.Argument(name: "app_identifier", value: appIdentifier),
|
3974
3980
|
RubyCommand.Argument(name: "app_version", value: appVersion),
|
@@ -4116,7 +4122,7 @@ func uploadToTestflight(username: String,
|
|
4116
4122
|
email: String? = nil,
|
4117
4123
|
testersFilePath: String = "./testers.csv",
|
4118
4124
|
groups: [String]? = nil,
|
4119
|
-
teamId:
|
4125
|
+
teamId: Any? = nil,
|
4120
4126
|
teamName: String? = nil,
|
4121
4127
|
devPortalTeamId: String? = nil,
|
4122
4128
|
itcProvider: String? = nil,
|
@@ -4239,7 +4245,7 @@ func xcodeSelect() {
|
|
4239
4245
|
}
|
4240
4246
|
@discardableResult func xcodeServerGetAssets(host: String,
|
4241
4247
|
botName: String,
|
4242
|
-
integrationNumber:
|
4248
|
+
integrationNumber: Any? = nil,
|
4243
4249
|
username: String = "",
|
4244
4250
|
password: String? = nil,
|
4245
4251
|
targetFolder: String = "./xcs_assets",
|
@@ -4395,4 +4401,4 @@ let screengrabfile: Screengrabfile = Screengrabfile()
|
|
4395
4401
|
let snapshotfile: Snapshotfile = Snapshotfile()
|
4396
4402
|
// Please don't remove the lines below
|
4397
4403
|
// They are used to detect outdated files
|
4398
|
-
// FastlaneRunnerAPIVersion [0.9.
|
4404
|
+
// FastlaneRunnerAPIVersion [0.9.55]
|