Skip to content

jonasrottmann/fastlane-plugin-twine

Repository files navigation

twine plugin

Travis CI fastlane Plugin Badge Gem License

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-twine, add it to your project by running:

fastlane add_plugin twine

About the plugin

This plugin provides easy access to common actions (e.g. generating the localization files) you would normally perform with twine and adds some extra functionality.

Configuration file

Check out the example configuration.

JSON file scheme:

[
    {
        "description": "",
        "source_path": "",
        "twine_args": "",
        "destination_path": ""
    }
]
  • description: This is optional but recommended to make the output more readable.
  • source_path: The path to your twine file. This is required.
  • twine_args: Additional args to pass to twine. For example: --lang en --format android
  • destination_path: The path where the generated translation file will be found. This is required.

Example

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 all.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.