fastlane-plugin-docc 0.1.1 → 1.0.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 +4 -4
- data/README.md +6 -5
- data/lib/fastlane/plugin/docc/actions/docc_action.rb +8 -2
- data/lib/fastlane/plugin/docc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: affa791be999704866eca989422594bcedf8b80e6bf6ea36907b771bece092b2
|
|
4
|
+
data.tar.gz: 40e79bc1074df0149adf1c47779c79aa779e7ec0403ef2f2a0f4e7a279203864
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4baf0b3cb7830cd08e80c9ce6dda3d76cb98d2c31be62c6bde6dd1b3a515bdadf95b88c33a4b9690f27d0ceea305088aa6053862cb862cac368ec5d07480117a
|
|
7
|
+
data.tar.gz: 1162ddefba4d5c54d96446ad26679f9b94c37cbc049d35d91693e10250a210efc091934a1f5cbc1c685ea88f2f8e67d3dfaab7a087c3938029bf684ac453ba36
|
data/README.md
CHANGED
|
@@ -22,17 +22,18 @@ Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plu
|
|
|
22
22
|
|
|
23
23
|
```ruby
|
|
24
24
|
docc(
|
|
25
|
-
scheme: "<
|
|
25
|
+
scheme: "<The name of your package/library scheme>",
|
|
26
26
|
derived_data_path: "<The path to write the DocC to>"
|
|
27
27
|
)
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
## List of all Parameters
|
|
31
31
|
|
|
32
|
-
| Key | Description
|
|
33
|
-
| ----------------- |
|
|
34
|
-
| scheme | The
|
|
35
|
-
| derived_data_path | The path to write the DocC to.
|
|
32
|
+
| Key | Description | default value |
|
|
33
|
+
| ----------------- | ---------------------------------------------------------- | ------------- |
|
|
34
|
+
| scheme | The scheme you want generate DocC for. | |
|
|
35
|
+
| derived_data_path | The path to write the DocC to. | |
|
|
36
|
+
| destination | The destination of project (required for swift packages) | |
|
|
36
37
|
|
|
37
38
|
## Run tests for this plugin
|
|
38
39
|
|
|
@@ -9,6 +9,7 @@ module Fastlane
|
|
|
9
9
|
command << "xcodebuild docbuild"
|
|
10
10
|
command << "-scheme #{params[:scheme]}"
|
|
11
11
|
command << "-derivedDataPath #{params[:derived_data_path]}" unless params[:derived_data_path].nil?
|
|
12
|
+
command << "-destination #{params[:destination]}" unless params[:destination].nil?
|
|
12
13
|
|
|
13
14
|
shell_command = command.join(' ')
|
|
14
15
|
UI.message(shell_command.to_s)
|
|
@@ -43,13 +44,18 @@ module Fastlane
|
|
|
43
44
|
[
|
|
44
45
|
FastlaneCore::ConfigItem.new(key: :scheme,
|
|
45
46
|
env_name: "DOCC_SCHEME",
|
|
46
|
-
description: "
|
|
47
|
+
description: "The scheme to use when calling docc",
|
|
47
48
|
optional: false,
|
|
48
49
|
type: String),
|
|
49
50
|
|
|
50
51
|
FastlaneCore::ConfigItem.new(key: :derived_data_path,
|
|
51
52
|
env_name: "DOCC_DERIVED_DATA_PATH",
|
|
52
|
-
description: "
|
|
53
|
+
description: "The path where the documentation will be created",
|
|
54
|
+
optional: true,
|
|
55
|
+
type: String),
|
|
56
|
+
FastlaneCore::ConfigItem.new(key: :destination,
|
|
57
|
+
env_name: "DESTINATION",
|
|
58
|
+
description: "The destination of project (required for swift packages)",
|
|
53
59
|
optional: true,
|
|
54
60
|
type: String)
|
|
55
61
|
]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-docc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kukurijek
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
167
167
|
- !ruby/object:Gem::Version
|
|
168
168
|
version: '0'
|
|
169
169
|
requirements: []
|
|
170
|
-
rubygems_version: 3.
|
|
170
|
+
rubygems_version: 3.2.13
|
|
171
171
|
signing_key:
|
|
172
172
|
specification_version: 4
|
|
173
173
|
summary: Automate docc - documentation for swift frameworks and packages
|