We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As Scala lacks methods for setting environment variables, simulation of them for code that consumes environment is complicated.
I got away with build settings like that:
fork in run := true envVars in run := Map( "MY_VAR" -> "MY VALUE" )
Example:
println(sys.env("MY_VAR")) Thread.sleep(5000)
The problems with that approach are:
I suggest to add a tab where the user could set environment variables in an intuitive way.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As Scala lacks methods for setting environment variables, simulation of them for code that consumes environment is complicated.
I got away with build settings like that:
Example:
The problems with that approach are:
I suggest to add a tab where the user could set environment variables in an intuitive way.
The text was updated successfully, but these errors were encountered: