fastlane-plugin-unity 1.0.1 → 1.1.0

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: c0c79e064f601c71b1169a4f756fd442b32ebf9add6a4d357f2a7460b361f3cc
4
- data.tar.gz: 67eb7bdfe1933411e7004343d478bc9faa9e6c044a9d701f26c52d5f77890f4f
3
+ metadata.gz: aa0d767f98cf2ac33627d4971876e4c51f32e9b721e1040340197b03e82da1be
4
+ data.tar.gz: db51087d789a0a3925b5d0e0193cbc8494bcd1ec7c4bb9d17a1c788e9fd685db
5
5
  SHA512:
6
- metadata.gz: 2021eed618de64ec2a4529614dcc1324fbb50a8ccd8d2f2abc0d3f2017666ded902f897c8ce4f2570ba629bb585002956cdf254e54797de115348705d8113c3d
7
- data.tar.gz: 782f05f74cd5fbf72006a9bc30528a8108ce4989e5747468edb716dde1080a4afb5803d88e832c833abd73f17d5b6595a143c85ffe3f36bc2521fec3a8d8d810
6
+ metadata.gz: 14705be90e200d3e4ca19c680cb2e45e59d94638b36e4589f1ae36d49799702cbfa1fda71891dfe7190b972cd576e2271b0074776b7d05cd212259c8b53c8a6a
7
+ data.tar.gz: bd6e0f2e8a2e02f34c19a7ca965eca7023ff7796def6e5b6ea0d902adfc6792f7195b392132dde91b304b23485b8fd9b487a5e5d6df0657a5cef54889af61177
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-unity)
4
4
  [![Gem](https://img.shields.io/gem/v/fastlane-plugin-unity)](https://rubygems.org/gems/fastlane-plugin-unity)
5
+ [![Gem](https://img.shields.io/gem/dt/fastlane-plugin-unity)](https://rubygems.org/gems/fastlane-plugin-unity)
5
6
  [![Test](https://github.com/safu9/fastlane-plugin-unity/workflows/Test/badge.svg)](https://github.com/safu9/fastlane-plugin-unity/actions?query=workflow%3ATest)
6
7
 
7
8
  ## Getting Started
@@ -33,19 +34,24 @@ This plugin determine path to Unity executable in the following order
33
34
 
34
35
  ### Supported options
35
36
 
36
- | Name | Description | Default | Env Var Name |
37
- |----------------|---------------------------------------------|-------------|-------------------------|
38
- | unity_path | Path to Unity executable | | FL_UNITY_PATH |
39
- | unity_version | Unity version to execute | | FL_UNITY_VERSION |
40
- | project_path | Path to Unity project | Current Dir | FL_UNITY_PROJECT_PATH |
41
- | batchmode | Run command in batch mode | true | FL_UNITY_BATCHMODE |
42
- | nographics | Do not initialize the graphics device | true | FL_UNITY_NOGRAPHICS |
43
- | quit | Quit the Unity after command execution | true | FL_UNITY_QUIT |
44
- | username | Username to log in | | FL_UNITY_USERNAME |
45
- | password | Password to log in | | FL_UNITY_PASSWORD |
46
- | build_target | Active build target like "iOS" or "Android" | | FL_UNITY_BUILD_TARGET |
47
- | execute_method | Static method to execute | | FL_UNITY_EXECUTE_METHOD |
48
- | extra_args | Extra arguments | | FL_UNITY_EXTRA_ARGS |
37
+ | Name | Description | Default | Env Var Name |
38
+ |-------------------------------|--------------------------------------------------|-------------|----------------------------------------|
39
+ | unity_path | Path to Unity executable | | FL_UNITY_PATH |
40
+ | unity_version | Unity version to execute | | FL_UNITY_VERSION |
41
+ | project_path | Path to Unity project | Current Dir | FL_UNITY_PROJECT_PATH |
42
+ | batchmode | Run command in batch mode | true | FL_UNITY_BATCHMODE |
43
+ | nographics | Do not initialize the graphics device | true | FL_UNITY_NOGRAPHICS |
44
+ | quit | Quit the Unity after command execution | true | FL_UNITY_QUIT |
45
+ | username | Username to log in | | FL_UNITY_USERNAME |
46
+ | password | Password to log in | | FL_UNITY_PASSWORD |
47
+ | build_target | Active build target like "iOS" or "Android" | | FL_UNITY_BUILD_TARGET |
48
+ | execute_method | Static method to execute | | FL_UNITY_EXECUTE_METHOD |
49
+ | enable_cache_server | Enable usage of Accelerator Cache Server | | FL_UNITY_ENABLE_CACHE_SERVER |
50
+ | cache_server_endpoint | Endpoint address of Accelerator Cache Server | | FL_UNITY_CACHE_SERVER_ENDPOINT |
51
+ | cache_server_namespace_prefix | Namespace prefix for Accelerator Cache Server | | FL_UNITY_CACHE_SERVER_NAMESPACE_PREFIX |
52
+ | cache_server_enable_download | Enable downloading from Accelerator Cache Server | | FL_UNITY_CACHE_SERVER_ENABLE_DOWNLOAD |
53
+ | cache_server_enable_upload | Enable uploading to Accelerator Cache Server | | FL_UNITY_CACHE_SERVER_ENABLE_UPLOAD |
54
+ | extra_args | Extra arguments | | FL_UNITY_EXTRA_ARGS |
49
55
 
50
56
  See manual for detailed descriptions and other options: https://docs.unity3d.com/Manual/CommandLineArguments.html
51
57
 
@@ -20,6 +20,13 @@ module Fastlane
20
20
  cmd << " -password #{params[:password]}" if params[:password]
21
21
  cmd << " -buildTarget #{params[:build_target]}" if params[:build_target]
22
22
  cmd << " -executeMethod #{params[:execute_method]}" if params[:execute_method]
23
+
24
+ cmd << " -EnableCacheServer #{params[:enable_cache_server]}" if params[:enable_cache_server]
25
+ cmd << " -cacheServerEndpoint #{params[:cache_server_endpoint]}" if params[:cache_server_endpoint]
26
+ cmd << " -cacheServerNamespacePrefix #{params[:cache_server_namespace_prefix]}" if params[:cache_server_namespace_prefix]
27
+ cmd << " -cacheServerEnableDownload #{params[:cache_server_enable_download]}" unless params[:cache_server_enable_download].nil?
28
+ cmd << " -cacheServerEnableUpload #{params[:cache_server_enable_upload]}" unless params[:cache_server_enable_upload].nil?
29
+
23
30
  cmd << " -logfile"
24
31
  cmd << " #{params[:extra_args]}" if params[:extra_args]
25
32
 
@@ -105,6 +112,32 @@ module Fastlane
105
112
  description: "Static method to execute",
106
113
  optional: true),
107
114
 
115
+ FastlaneCore::ConfigItem.new(key: :enable_cache_server,
116
+ env_name: "FL_UNITY_ENABLE_CACHE_SERVER",
117
+ description: "Enable usage of Accelerator Cache Server",
118
+ default_value: false,
119
+ is_string: false),
120
+
121
+ FastlaneCore::ConfigItem.new(key: :cache_server_endpoint,
122
+ env_name: "FL_UNITY_CACHE_SERVER_ENDPOINT",
123
+ description: "Endpoint address of Accelerator Cache Server",
124
+ optional: true),
125
+
126
+ FastlaneCore::ConfigItem.new(key: :cache_server_namespace_prefix,
127
+ env_name: "FL_UNITY_CACHE_SERVER_NAMESPACE_PREFIX",
128
+ description: "Namespace prefix for Accelerator Cache Server",
129
+ optional: true),
130
+
131
+ FastlaneCore::ConfigItem.new(key: :cache_server_enable_download,
132
+ env_name: "FL_UNITY_CACHE_SERVER_ENABLE_DOWNLOAD",
133
+ description: "Enable downloading from Accelerator Cache Server",
134
+ is_string: false),
135
+
136
+ FastlaneCore::ConfigItem.new(key: :cache_server_enable_upload,
137
+ env_name: "FL_UNITY_CACHE_SERVER_ENABLE_UPLOAD",
138
+ description: "Enable uploading to Accelerator Cache Server",
139
+ is_string: false),
140
+
108
141
  FastlaneCore::ConfigItem.new(key: :extra_args,
109
142
  env_name: "FL_UNITY_EXTRA_ARGS",
110
143
  description: "Extra arguments",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Unity
3
- VERSION = "1.0.1"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-unity
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - safu9
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-07 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: os
@@ -150,7 +150,7 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 2.165.0
153
- description:
153
+ description:
154
154
  email: safu9.dev@gmail.com
155
155
  executables: []
156
156
  extensions: []
@@ -166,7 +166,7 @@ homepage: https://github.com/safu9/fastlane-plugin-unity
166
166
  licenses:
167
167
  - MIT
168
168
  metadata: {}
169
- post_install_message:
169
+ post_install_message:
170
170
  rdoc_options: []
171
171
  require_paths:
172
172
  - lib
@@ -181,8 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.0.3
185
- signing_key:
184
+ rubygems_version: 3.1.4
185
+ signing_key:
186
186
  specification_version: 4
187
187
  summary: Fastlane plugin for Unity
188
188
  test_files: []