fastlane-plugin-automated_test_emulator_run 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c48b096665c5815e9bf95730930a2521a86a54c6
|
4
|
+
data.tar.gz: 1063ceb105bf66fe0935474d6f8eddd20bff812b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 765541ca742534f76f9156622f876d44beb428b063aa424ff9b0115377e29f4b3c7c1356e6d4b98ed251bb3f601fbe443267e3761b7d2790331e54462024d476
|
7
|
+
data.tar.gz: fcde22eb7dbf1aa149bfbec5d248b85803e9e1ca5164cea0aa6c585079f2d8573da892baf40f4049579a7b06572f14193627c12ff57a8a25cf03876a4e23586c
|
data/lib/fastlane/plugin/automated_test_emulator_run/actions/automated_test_emulator_run_action.rb
CHANGED
@@ -18,7 +18,13 @@ module Fastlane
|
|
18
18
|
|
19
19
|
# Find unused port
|
20
20
|
port = getUnusedTcpPort
|
21
|
-
|
21
|
+
if params[:avd_port].nil?
|
22
|
+
port = getUnusedTcpPort
|
23
|
+
UI.message(["Open port found", port].join(" ").yellow)
|
24
|
+
else
|
25
|
+
port = "#{params[:avd_port]}"
|
26
|
+
UI.message(["Port set by user to:", port].join(" ").yellow)
|
27
|
+
end
|
22
28
|
|
23
29
|
# Set up params
|
24
30
|
UI.message("Preparing parameters...".yellow)
|
@@ -184,13 +190,18 @@ module Fastlane
|
|
184
190
|
optional: true,
|
185
191
|
conflicting_options: [:shell_command],
|
186
192
|
is_string: true),
|
187
|
-
|
193
|
+
|
188
194
|
FastlaneCore::ConfigItem.new(key: :emulator_binary,
|
189
195
|
env_name: "EMULATOR_BINARY",
|
190
196
|
description: "Emulator binary file you would like to use in order to start emulator",
|
191
197
|
is_string: true,
|
192
198
|
default_value: "emulator",
|
193
199
|
optional: true),
|
200
|
+
FastlaneCore::ConfigItem.new(key: :avd_port,
|
201
|
+
env_name: "AVD_PORT",
|
202
|
+
description: "Possible to specify port on which emulator should run",
|
203
|
+
is_string: true,
|
204
|
+
optional: true),
|
194
205
|
FastlaneCore::ConfigItem.new(key: :avd_start_options,
|
195
206
|
env_name: "AVD_START_OPTIONS",
|
196
207
|
description: "Additonal run parameters e.g. gpu, audio, boot animation",
|