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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c91172d5a3ae56a893adb7e18bf8203509f3f5fe43cf022dfcda1db8a1ebf50d
4
- data.tar.gz: 05bc33e0f7a218e7d179412a6065d02c48600d8d577e8f2ae8f2e3e7cb761382
3
+ metadata.gz: affa791be999704866eca989422594bcedf8b80e6bf6ea36907b771bece092b2
4
+ data.tar.gz: 40e79bc1074df0149adf1c47779c79aa779e7ec0403ef2f2a0f4e7a279203864
5
5
  SHA512:
6
- metadata.gz: 85fb8fbe3e95d0f8db178e3b1b9e6891bb58346eb18651bb248094bb61c349ee438e48d5a5b815687df878df967f3ebc02194bf3fd99ee28c67ca0834a1af498
7
- data.tar.gz: b7a97a80fce0e1e60327005e6c1a5c65c5f208130e83dc587610791358bede116f9b92e0110c5006cb0b2da7d2766e889659a9fdbafbca42b34539c71df05afd
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: "<Name of your package/library 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 | default value |
33
- | ----------------- | -------------------------------------- | ------------- |
34
- | scheme | The Scheme you want generate DocC for. | |
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: "Scheme to use when calling docc",
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: "A description of your option",
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
  ]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Docc
3
- VERSION = "0.1.1"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
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.1.1
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-07-04 00:00:00.000000000 Z
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.0.6
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