fastlane-plugin-xcodegen 0.1.0 → 1.0.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 +5 -1
- data/lib/fastlane/plugin/xcodegen/actions/xcodegen_action.rb +22 -0
- data/lib/fastlane/plugin/xcodegen/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 78392fa742eae6570307137d8eb2a6fc4a1095fb6c37d490e58f3cbef00abd50
|
4
|
+
data.tar.gz: 5ef3c010b456a1d132c5a417421e9a5a130ccde64da3ca3a38783e07b73a3828
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5f3d0109c9e82c61c8cafa9a8bf3bc81db631981fdc79b677a1f1d473f511a604b5bdcc6466da505b2f5f3a562df7fded387c9d1619429b608795b2a0aeef8b
|
7
|
+
data.tar.gz: b6703bcd1541084d290766f01f4a579f4bbba0e9174f02da0c78bbf9122360523af24dfb80a7b64d4c099705b0827c52c0b89955aad740f3d4bafbf1369ea248
|
data/README.md
CHANGED
@@ -21,7 +21,11 @@ More Information on [_XcodeGen_](https://github.com/yonaskolb/XcodeGen)
|
|
21
21
|
```ruby
|
22
22
|
xcodegen(
|
23
23
|
spec: "PATH/project.yml",
|
24
|
-
project: "PATH/Project.xcodeproj"
|
24
|
+
project: "PATH/Project.xcodeproj",
|
25
|
+
quiet: true,
|
26
|
+
use_cache: true,
|
27
|
+
cache_path: "~/.xcodegen/cache/MyProject",
|
28
|
+
project_root: "../"
|
25
29
|
)
|
26
30
|
```
|
27
31
|
|
@@ -17,6 +17,10 @@ module Fastlane
|
|
17
17
|
cmd = ["xcodegen"]
|
18
18
|
cmd << "--spec #{params[:spec]}" if params[:spec]
|
19
19
|
cmd << "--project #{params[:project]}" if params[:project]
|
20
|
+
cmd << "--quiet" if params[:quiet]
|
21
|
+
cmd << "--use-cache" if params[:use_cache]
|
22
|
+
cmd << "--cache-path #{params[:cache_path]}" if params[:cache_path]
|
23
|
+
cmd << "--project-root #{params[:project_root]}" if params[:project_root]
|
20
24
|
|
21
25
|
Actions.sh(cmd.join(' '))
|
22
26
|
end
|
@@ -45,6 +49,24 @@ module Fastlane
|
|
45
49
|
FastlaneCore::ConfigItem.new(key: :project,
|
46
50
|
env_name: "XCODEGEN_PROJECT",
|
47
51
|
description: "The path to the folder where the project should be generated",
|
52
|
+
optional: true),
|
53
|
+
FastlaneCore::ConfigItem.new(key: :quiet,
|
54
|
+
env_name: "XCODEGEN_QUIET",
|
55
|
+
description: "Whether to suppress informational and success messages",
|
56
|
+
optional: true,
|
57
|
+
is_string: false),
|
58
|
+
FastlaneCore::ConfigItem.new(key: :use_cache,
|
59
|
+
env_name: "XCODEGEN_USE_CACHE",
|
60
|
+
description: "Used to prevent unnecessarily generating the project",
|
61
|
+
optional: true,
|
62
|
+
is_string: false),
|
63
|
+
FastlaneCore::ConfigItem.new(key: :cache_path,
|
64
|
+
env_name: "XCODEGEN_CACHE_PATH",
|
65
|
+
description: "A custom path to use for your cache file",
|
66
|
+
optional: true),
|
67
|
+
FastlaneCore::ConfigItem.new(key: :project_root,
|
68
|
+
env_name: "XCODEGEN_PROJECT_ROOT",
|
69
|
+
description: "The path to the project root directory",
|
48
70
|
optional: true)
|
49
71
|
]
|
50
72
|
end
|
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:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Ruhl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane-plugin-brew
|
@@ -181,8 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
|
185
|
-
rubygems_version: 2.6.10
|
184
|
+
rubygems_version: 3.0.3
|
186
185
|
signing_key:
|
187
186
|
specification_version: 4
|
188
187
|
summary: Run xcodegen for the project
|