fastlane-plugin-unity3d 0.1.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 907638de72d8dced4a739e51fc149a5084b3210e11c2ddf11e0d245fa8675265
|
|
4
|
+
data.tar.gz: 55042c49c2ebe5c5ddea56c3b7f361af75ca04eab74100ba6259b3d101e02112
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edb304739d1ae094f86e8d48f6b9578cd82c0ae014aeca0e11d394f55b0c3c549208b1ea083ac06765ff2fe5744fa87ad31a25906120eefb30bac44711c2ca6e
|
|
7
|
+
data.tar.gz: c7a824893bfed1749d1457001533a5d6793b78ab1586133debb70a701a4361f8eb21136284814873d345dce8acd084b47fc84e7070b684f3a5a31f1f0337c127
|
|
@@ -19,13 +19,16 @@ module Fastlane
|
|
|
19
19
|
class Unity3dAction < Action
|
|
20
20
|
def self.run(params)
|
|
21
21
|
|
|
22
|
+
UI.error "no executable found" unless params[:executable]
|
|
23
|
+
|
|
22
24
|
build_cmd = "#{params[:executable]}"
|
|
23
|
-
build_cmd << " -projectPath #{params[:project_path]}"
|
|
25
|
+
build_cmd << " -projectPath '#{params[:project_path]}'"
|
|
24
26
|
build_cmd << " -batchmode"
|
|
25
27
|
build_cmd << " -quit"
|
|
26
28
|
build_cmd << " -logfile #{params[:logfile]}"
|
|
27
29
|
build_cmd << " -nographics" if params[:nographics]
|
|
28
30
|
build_cmd << " -executeMethod #{params[:execute_method]}" if params[:execute_method]
|
|
31
|
+
build_cmd << " -buildTarget #{params[:build_target]}" if params[:build_target]
|
|
29
32
|
|
|
30
33
|
UI.message "\n#{
|
|
31
34
|
Terminal::Table.new(
|
|
@@ -143,6 +146,13 @@ module Fastlane
|
|
|
143
146
|
optional: true,
|
|
144
147
|
is_string: false,
|
|
145
148
|
default_value: false),
|
|
149
|
+
|
|
150
|
+
FastlaneCore::ConfigItem.new(key: :build_target,
|
|
151
|
+
env_name: "FL_UNITY_BUILD_TARGET",
|
|
152
|
+
description: "build target: Possible options are: Standalone, Win, Win64, OSXUniversal, Linux64, iOS, Android, WebGL, XboxOne, PS4, WindowsStoreApps, Switch, tvOS",
|
|
153
|
+
optional: true,
|
|
154
|
+
is_string: true,
|
|
155
|
+
default_value: "Standalone"),
|
|
146
156
|
]
|
|
147
157
|
end
|
|
148
158
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-unity3d
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- fuzhongqing
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|