Helping developers give credit where it's rightfully due in an automated fashion!
This plugin builds on the good work done by Christophe Knage on iOS AcknowledgementGenerator in the form of a Fastlane plugin, along with adding the ability to strip unwanted markdown from license files.
By the way, Christophe if you're reading this, I owe you a drink should I ever meet you 🍻.
Place all of your licenses from your various dependencies in a directory (e.g., a licenses
folder in your project directory). Each license file should be named after your dependency (so an Alamofire license file should be called Alamofire.license
)
You'll see the acknowledgements in your app's settings scene, so create a settings bundle & ensure it is included in your target.
This project is a fastlane plugin. To get started with fastlane-plugin-acknowledgements, add it to your project by running:
fastlane add_plugin acknowledgements
acknowledgements(
settings_bundle: 'path/to/settings.bundle',
license_path: 'path/to/licenses'
)
You can also specify a different extension for your licenses using the optional license_extension
parameter:
license_extension: '.acknowledgement'
To run both the tests & 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 doc in the main fastlane
repo.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
Released under the BEER-WARE License 🍺. See the LICENSE file for more information.