- fastlane guide to get started.
- Actions.md for all the built-in integrations
- Bamboo.md for Bamboo specific help
- Code signing guide to show you how to do code signing right.
- FAQs for frequently asked questions
- Advanced.md for more advanced settings and tips.
- Jenkins.md for Jenkins specific help
- Platforms.md for more information about the cross-platform support of
fastlane. - Appfile.md describes the
Appfile - Advanced.md to show how to pass parameters to lanes from the command line.
- Extensions.md for more information about local actions and remote plugins
- Android.md Getting started with fastlane for Android
- Gitignore.md Recommended content for your
.gitignorefile
The Fastfile is used to configure fastlane. Open it in your favourite text editor, using Ruby syntax highlighting.
Defining lanes is easy.
lane :my_lane do
# Whatever actions you like go in here.
endMake as many lanes as you like!
This block will get executed before running the requested lane. It supports the same actions as lanes.
before_all do |lane|
cocoapods
endThis block will get executed after running the requested lane. It supports the same actions as lanes.
It will only be called, if the selected lane was executed successfully.
after_all do |lane|
say "Successfully finished deployment (#{lane})!"
slack(
message: "Successfully submitted new App Update"
)
sh "./send_screenshots_to_team.sh" # Example
endThis block will get executed when an error occurs, in any of the blocks (before_all, the lane itself or after_all).
error do |lane, exception|
slack(
message: "Something went wrong with the deployment.",
success: false
)
endThe documentation for local actions and plugins was moved to Extensions.md.