No commit activity in last 3 years
No release in over 3 years
set ENV["key"]=value from file like key=value
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

source_env_from_file plugin

fastlane Plugin Badge

Getting Started

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_file

About source_env_from_file

set ENV["key"]=value from file like key=value

Example

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']

Run tests for this plugin

To run both the tests, and code style validation, run

rake

To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

Troubleshooting

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

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.