This project is a fastlane plugin. To get started with fastlane-plugin-source_env_from_file, add it to your project by running:
fastlane add_plugin source_env_from_fileset ENV["key"]=value from file like key=value
if you have key=value file like this:
export name1=xiongzenghui
name2=xiongzenghui
name3='xiongzenghui'
name4="xiongzenghui"
name5=1 2 3 4 5 6
so you need like this use this plugin to parse file to setup to ENV
Fastlane::Actions::SourceEnvFromFileAction.run(
filepath: '/path/to/key_value_file'
)
pp ENV['name1']
pp ENV['name2']
pp ENV['name3']
pp ENV['name4']
pp ENV['name5']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.