fastlane-plugin-xcodegen 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/fastlane/plugin/xcodegen/actions/xcodegen_action.rb +19 -7
- data/lib/fastlane/plugin/xcodegen/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd62bb4b14fecb92fe5f9367d04cb232ed1ebcfed02de55baf49e1803a1af88a
|
4
|
+
data.tar.gz: ee6c925b4b0b0f8a5f042e1dda43016fbe4568e15b312e1565cee61ded4f8369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b674bbed5da38ea30c8e1ee759ba234d519d41c4a5c470b6a37f67556e28a0b39ae4d11728bc76c7027eed29c52d74ae508879f9151f6aa6850fa189f19d1f5
|
7
|
+
data.tar.gz: 1200f465e751e85d32f7e75e76f5dbabd7d53569826bf9d059568408a336af106b2d7ae13d9bab1a6c3322851a4b2324db318e3f4d029b649513dbac8dec5e99
|
data/README.md
CHANGED
@@ -12,17 +12,17 @@ module Fastlane
|
|
12
12
|
|
13
13
|
Actions::BrewAction.run(command: "tap yonaskolb/XcodeGen https://github.com/yonaskolb/XcodeGen.git")
|
14
14
|
Actions::BrewAction.run(command: "install XcodeGen")
|
15
|
-
end)
|
15
|
+
end) unless params[:executable]
|
16
16
|
|
17
|
-
cmd = ["xcodegen"]
|
18
|
-
cmd
|
19
|
-
cmd
|
17
|
+
cmd = [params[:executable] || "xcodegen"]
|
18
|
+
cmd += ["--spec", File.expand_path(params[:spec])] if params[:spec]
|
19
|
+
cmd += ["--project", File.expand_path(params[:project])] if params[:project]
|
20
20
|
cmd << "--quiet" if params[:quiet]
|
21
21
|
cmd << "--use-cache" if params[:use_cache]
|
22
|
-
cmd
|
23
|
-
cmd
|
22
|
+
cmd += ["--cache-path", File.expand_path(params[:cache_path])] if params[:cache_path]
|
23
|
+
cmd += ["--project-root", File.expand_path(params[:project_root])] if params[:project_root]
|
24
24
|
|
25
|
-
Actions.sh(cmd
|
25
|
+
Actions.sh(*cmd)
|
26
26
|
end
|
27
27
|
|
28
28
|
def self.description
|
@@ -40,8 +40,20 @@ module Fastlane
|
|
40
40
|
].join("\n")
|
41
41
|
end
|
42
42
|
|
43
|
+
def self.return_type
|
44
|
+
:string
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.return_value
|
48
|
+
"Raw shell output of `xcodegen` command."
|
49
|
+
end
|
50
|
+
|
43
51
|
def self.available_options
|
44
52
|
[
|
53
|
+
FastlaneCore::ConfigItem.new(key: :executable,
|
54
|
+
env_name: "XCODEGEN_EXECUTABLE",
|
55
|
+
description: "The path to the `xcodegen` executable",
|
56
|
+
optional: true),
|
45
57
|
FastlaneCore::ConfigItem.new(key: :spec,
|
46
58
|
env_name: "XCODEGEN_SPEC",
|
47
59
|
description: "The path to the project spec file",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-xcodegen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Ruhl
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane-plugin-brew
|
@@ -150,7 +150,7 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: 2.93.1
|
153
|
-
description:
|
153
|
+
description:
|
154
154
|
email: michael.ruhl@novatec-gmbh.de
|
155
155
|
executables: []
|
156
156
|
extensions: []
|
@@ -166,7 +166,7 @@ homepage: https://github.com/NovaTecConsulting/fastlane-plugin-xcodegen
|
|
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.
|
185
|
-
signing_key:
|
184
|
+
rubygems_version: 3.1.2
|
185
|
+
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: Run xcodegen for the project
|
188
188
|
test_files: []
|