Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse lines beginning with "export" #177

Closed
wants to merge 1 commit into from

Conversation

atomaka
Copy link

@atomaka atomaka commented Jan 31, 2017

We commonly attempt to reuse our .env files by including export at the beginning of each line. This allows our .env files to also be sourced and loaded into our environment if necessary. Similar dotenv packages seem to allow this functionality (ie. https://github.com/bkeepers/dotenv#usage).

This pull request maintains all existing functionality. It adds one additional change. A line formatted as

export EXPORTED=true

will be parsed with key EXPORTED and value true.

@coveralls
Copy link

coveralls commented Jan 31, 2017

Coverage Status

Coverage remained the same at 100.0% when pulling 14d6beb on atomaka:feature/allow-export into 825c1b2 on motdotla:master.

@atomaka
Copy link
Author

atomaka commented Jan 31, 2017

Looks like this functionality was proposed and declined in #118 (although the suggested solution was pretty disappointing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants