-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add support for environment variables #110
Add support for environment variables #110
Conversation
2b6235f
to
64b56be
Compare
f66f8cf
to
6e6c62b
Compare
@@ -0,0 +1 @@ | |||
ARGV.each { |arg| puts ENV[arg] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added this to generalize retrieving env variables between operating systems. Alternatively, we could have each of the tests echo both, e.g. echo $TEST_ENV %TEST_ENV%
and assert on either of them being substituted. LMK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is solid. It might be worth adding tests for Windows in the future if we find it to be strange in some way but I don't expect it's necessary.
0217193
to
312b0fa
Compare
312b0fa
to
819dfbf
Compare
@@ -0,0 +1 @@ | |||
ARGV.each { |arg| puts ENV[arg] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is solid. It might be worth adding tests for Windows in the future if we find it to be strange in some way but I don't expect it's necessary.
@rradczewski, this needs a bit of explanation in the README, but otherwise I think it's fine. Would you like to do it or shall I? |
I'll do it! |
1cc5200
to
040a25e
Compare
No description provided.