fastlane now supports multiple platforms, right now iOS and Mac 🚀
- Every action now specifies support for the different platforms 🔓
fastlane
generates a nice documentation of the newFastfile
usingfastlane docs
📖- Auto completion of all actions for a platform: e.g.
fastlane ios
will list all iOS lanes 🚘 - A lot of internal refactorings and enhanced tests 🏭
The example below demonstrates what's possible. But don't worry, if you're using fastlane
for iOS only, you will not notice any changes at all 😃
before_all do
puts "This block is executed before every action of all platforms"
end
platform :ios do
before_all do
cocoapods
end
lane :beta do
ipa
hockey
end
after_all do
puts "Finished iOS related work"
end
end
platform :mac do
lane :beta do
xcodebuild
hockey
end
end
after_all do
puts "Executed after every lane of both Mac and iPhone"
slack
end
Execute lanes like this:
fastlane ios beta
fastlane mac beta