@@ -166,17 +166,60 @@ the project must also match the value of this parameter without regard to order.
166
166
167
167
This action does not use the Branchfile.
168
168
169
- ## Example
169
+ ## Examples
170
170
171
- Check out the [ example ` Fastfile ` ] ( fastlane/Fastfile ) to see how to use this plugin. To try it:
171
+ There is an example [ Fastfile] ( ./fastlane/Fastfile ) in this repo that defines a number of
172
+ example lanes. Be sure to run ` bundle install ` before trying any of the examples.
173
+
174
+ ### setup
175
+
176
+ This lane sets up the BranchPluginExample projects
177
+ in [ examples/android/BranchPluginExample] ( ./examples/android/BranchPluginExample ) and
178
+ [ examples/ios/BranchPluginExample] ( ./examples/ios/BranchPluginExample ) .
179
+ The Xcode project uses CocoaPods and Swift.
180
+
181
+ ``` bash
182
+ bundle exec fastlane setup
183
+ ```
184
+
185
+ ### setup_and_commit
186
+
187
+ This lane sets up the BranchPluginExample projects and also commits the results to git.
188
+
189
+ ``` bash
190
+ bundle exec fastlane setup
191
+ ```
192
+
193
+ ### setup_objc
194
+
195
+ This lane sets up the BranchPluginExampleObjc project
196
+ in [ examples/ios/BranchPluginExampleObjc] ( ./examples/ios/BranchPluginExampleObjc ) .
197
+ The project uses CocoaPods and Objective-C.
172
198
173
199
``` bash
174
- bundle exec fastlane validate # The example project needs to be set up. This will fail.
175
- bundle exec fastlane setup # Also validates the UL configuration.
176
- bundle exec fastlane setup_and_commit # Also commit changes to Git. (git reset --hard HEAD^ to erase the last commit)
177
- bundle exec fastlane validate # Now validation will pass.
200
+ bundle exec fastlane setup_objc
178
201
```
179
202
203
+ ### setup_carthage
204
+
205
+ This lane sets up the BranchPluginExampleCarthage project
206
+ in [ examples/ios/BranchPluginExampleCarthage] ( ./examples/ios/BranchPluginExampleCarthage ) .
207
+ The project uses Carthage and Swift.
208
+
209
+ ``` bash
210
+ bundle exec fastlane setup_carthage
211
+ ```
212
+
213
+ ### validate
214
+
215
+ This lane validates the Universal Link configuration for the BranchPluginExample
216
+ project in [ examples/ios/BranchPluginExample] ( ./examples/ios/BranchPluginExample ) .
217
+
218
+ ``` bash
219
+ bundle exec fastlane validate
220
+ ```
221
+
222
+
180
223
## Run tests for this plugin
181
224
182
225
To run both the tests, and code style validation, run
0 commit comments