This project is a fastlane plugin. To get started with fastlane-plugin-sourcery
, add it to your project by running:
fastlane add_plugin sourcery
Run sourcery with fastlane! Sourcery is a code generator for Swift language, built on top of Apple's own SwiftSyntax. It extends the language abstractions to allow you to generate boilerplate code automatically.
Check out the example Fastfile
to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins
and bundle exec fastlane test
.
Usage:
sourcery(
executable: "Sourcery-Example/Pods/Sourcery/bin/sourcery",
config: "Sourcery-Example/.sourcery.yml"
)
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting guide.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.