Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit a71c3b7

Browse files
committed
Corrections to template markdown
1 parent ca3ff65 commit a71c3b7

File tree

2 files changed

+37
-37
lines changed

2 files changed

+37
-37
lines changed

README.md

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,26 @@ See https://github.com/BranchMetrics/branch_io_cli#setup-command for more inform
9696

9797
|Fastfile key|description|Environment variable|type|default value|
9898
|---|---|---|---|---|
99-
|live_key|Branch live key|BRANCH_LIVE_KEY|Boolean||
100-
|test_key|Branch test key|BRANCH_TEST_KEY|Boolean||
101-
|domains|Comma-separated list of custom domain(s) or non-Branch domain(s)|BRANCH_DOMAINS|Boolean||
102-
|app_link_subdomain|Branch app.link subdomain, e.g. myapp for myapp.app.link|BRANCH_APP_LINK_SUBDOMAIN|Boolean||
103-
|uri_scheme|Custom URI scheme used in the Branch Dashboard for this app|BRANCH_URI_SCHEME|Boolean||
104-
|setting|Use a custom build setting for the Branch key (default: Use Info.plist)|BRANCH_SETTING|Boolean||
105-
|test_configurations|List of configurations that use the test key with a user-defined setting (default: Debug configurations)|BRANCH_TEST_CONFIGURATIONS|Boolean||
106-
|xcodeproj|Path to an Xcode project to update|BRANCH_XCODEPROJ|Boolean||
107-
|target|Name of a target to modify in the Xcode project|BRANCH_TARGET|Boolean||
108-
|podfile|Path to the Podfile for the project|BRANCH_PODFILE|Boolean||
109-
|cartfile|Path to the Cartfile for the project|BRANCH_CARTFILE|Boolean||
110-
|carthage_command|Command to run when installing from Carthage|BRANCH_CARTHAGE_COMMAND|Boolean|update --platform ios|
111-
|frameworks|Comma-separated list of system frameworks to add to the project|BRANCH_FRAMEWORKS|Boolean||
112-
|pod_repo_update|Update the local podspec repo before installing|BRANCH_POD_REPO_UPDATE||true|
113-
|validate|Validate Universal Link configuration|BRANCH_VALIDATE||true|
114-
|force|Update project even if Universal Link validation fails|BRANCH_FORCE||false|
115-
|add_sdk|Add the Branch framework to the project|BRANCH_ADD_SDK||true|
116-
|patch_source|Add Branch SDK calls to the AppDelegate|BRANCH_PATCH_SOURCE||true|
117-
|commit|Commit the results to Git if non-blank|BRANCH_COMMIT|Boolean||
118-
|confirm|Confirm configuration before proceeding|BRANCH_CONFIRM||true|
99+
|live_key|Branch live key|BRANCH_LIVE_KEY|String||
100+
|test_key|Branch test key|BRANCH_TEST_KEY|String||
101+
|domains|Comma-separated list of custom domain(s) or non-Branch domain(s)|BRANCH_DOMAINS|Array||
102+
|app_link_subdomain|Branch app.link subdomain, e.g. myapp for myapp.app.link|BRANCH_APP_LINK_SUBDOMAIN|String||
103+
|uri_scheme|Custom URI scheme used in the Branch Dashboard for this app|BRANCH_URI_SCHEME|String||
104+
|setting|Use a custom build setting for the Branch key (default: Use Info.plist)|BRANCH_SETTING|String||
105+
|test_configurations|List of configurations that use the test key with a user-defined setting (default: Debug configurations)|BRANCH_TEST_CONFIGURATIONS|Array||
106+
|xcodeproj|Path to an Xcode project to update|BRANCH_XCODEPROJ|String||
107+
|target|Name of a target to modify in the Xcode project|BRANCH_TARGET|String||
108+
|podfile|Path to the Podfile for the project|BRANCH_PODFILE|String||
109+
|cartfile|Path to the Cartfile for the project|BRANCH_CARTFILE|String||
110+
|carthage_command|Command to run when installing from Carthage|BRANCH_CARTHAGE_COMMAND|String|update --platform ios|
111+
|frameworks|Comma-separated list of system frameworks to add to the project|BRANCH_FRAMEWORKS|Array||
112+
|pod_repo_update|Update the local podspec repo before installing|BRANCH_POD_REPO_UPDATE|Boolean|true|
113+
|validate|Validate Universal Link configuration|BRANCH_VALIDATE|Boolean|true|
114+
|force|Update project even if Universal Link validation fails|BRANCH_FORCE|Boolean|false|
115+
|add_sdk|Add the Branch framework to the project|BRANCH_ADD_SDK|Boolean|true|
116+
|patch_source|Add Branch SDK calls to the AppDelegate|BRANCH_PATCH_SOURCE|Boolean|true|
117+
|commit|Commit the results to Git if non-blank|BRANCH_COMMIT|String||
118+
|confirm|Confirm configuration before proceeding|BRANCH_CONFIRM|Boolean|true|
119119

120120

121121
#### Examples
@@ -170,10 +170,10 @@ See https://github.com/BranchMetrics/branch_io_cli#validate-command for more inf
170170

171171
|Fastfile key|description|Environment variable|type|default value|
172172
|---|---|---|---|---|
173-
|domains|Comma-separated list of domains to validate (Branch domains or non-Branch domains)|BRANCH_DOMAINS|Boolean|[]|
174-
|xcodeproj|Path to an Xcode project to update|BRANCH_XCODEPROJ|Boolean||
175-
|target|Name of a target to validate in the Xcode project|BRANCH_TARGET|Boolean||
176-
|configurations|Comma-separated list of configurations to validate (default: all)|BRANCH_CONFIGURATIONS|Boolean||
173+
|domains|Comma-separated list of domains to validate (Branch domains or non-Branch domains)|BRANCH_DOMAINS|Array|[]|
174+
|xcodeproj|Path to an Xcode project to update|BRANCH_XCODEPROJ|String||
175+
|target|Name of a target to validate in the Xcode project|BRANCH_TARGET|String||
176+
|configurations|Comma-separated list of configurations to validate (default: all)|BRANCH_CONFIGURATIONS|Array||
177177

178178

179179
#### Examples
@@ -215,18 +215,18 @@ building.
215215

216216
|Fastfile key|description|Environment variable|type|default value|
217217
|---|---|---|---|---|
218-
|workspace|Path to an Xcode workspace|BRANCH_WORKSPACE|Boolean||
219-
|xcodeproj|Path to an Xcode project|BRANCH_XCODEPROJ|Boolean||
220-
|scheme|A scheme from the project or workspace to build|BRANCH_SCHEME|Boolean||
221-
|target|A target to build|BRANCH_TARGET|Boolean||
222-
|configuration|The build configuration to use (default: Scheme-dependent)|BRANCH_CONFIGURATION|Boolean||
223-
|sdk|Passed as -sdk to xcodebuild|BRANCH_SDK|Boolean|iphonesimulator|
224-
|podfile|Path to the Podfile for the project|BRANCH_PODFILE|Boolean||
225-
|cartfile|Path to the Cartfile for the project|BRANCH_CARTFILE|Boolean||
226-
|clean|Clean before attempting to build|BRANCH_CLEAN||true|
227-
|header_only|Write a report header to standard output and exit|BRANCH_HEADER_ONLY||false|
228-
|pod_repo_update|Update the local podspec repo before installing|BRANCH_POD_REPO_UPDATE||true|
229-
|out|Report output path|BRANCH_REPORT_PATH|Boolean|./report.txt|
218+
|workspace|Path to an Xcode workspace|BRANCH_WORKSPACE|String||
219+
|xcodeproj|Path to an Xcode project|BRANCH_XCODEPROJ|String||
220+
|scheme|A scheme from the project or workspace to build|BRANCH_SCHEME|String||
221+
|target|A target to build|BRANCH_TARGET|String||
222+
|configuration|The build configuration to use (default: Scheme-dependent)|BRANCH_CONFIGURATION|String||
223+
|sdk|Passed as -sdk to xcodebuild|BRANCH_SDK|String|iphonesimulator|
224+
|podfile|Path to the Podfile for the project|BRANCH_PODFILE|String||
225+
|cartfile|Path to the Cartfile for the project|BRANCH_CARTFILE|String||
226+
|clean|Clean before attempting to build|BRANCH_CLEAN|Boolean|true|
227+
|header_only|Write a report header to standard output and exit|BRANCH_HEADER_ONLY|Boolean|false|
228+
|pod_repo_update|Update the local podspec repo before installing|BRANCH_POD_REPO_UPDATE|Boolean|true|
229+
|out|Report output path|BRANCH_REPORT_PATH|String|./report.txt|
230230

231231

232232
#### Examples

lib/fastlane/plugin/branch/fastlane_format.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def local_render(template)
2424
end
2525

2626
def table_option(option)
27-
"|#{option.name}|#{option.description}|#{option.env_name}|#{option.type ? 'Boolean' : option.type}|#{option.default_value}|"
27+
"|#{option.name}|#{option.description}|#{option.env_name}|#{option.type.nil? ? 'Boolean' : option.type.name}|#{option.default_value}|"
2828
end
2929
end
3030

0 commit comments

Comments
 (0)