Add custom escript runner configuration option #163
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This is basically a copy and finish of #136.
Motivation for this change is to better support remote development in vscode.
Reasoning:
In erlang/otp repository there is .devcontainer configuration. However it is not usable in it's current form.
It is based on ubuntu image which installs otp 22 from ubuntu repositories, then it downloads 3 last versions of erlang from kerl.
However you cannot choose which one of those to use, since vscode cannot execute an additional command when entering the dev container. You can of course modify the container configuration, but each time you want to do that, you would need to rebuild the container.
Internally in other projects some of the people use remote ssh to develop erlang code. However the environment is not configured to work with remote ssh development. Upon opening the repository, we must run initialization script that adds correct erlang to path.
However vscode cannot do that, it must have this erlang set somehow. Workaround is to set this erlang path in .bashrc file, but this has the problem that it is a global change, but we would like to have this settable per workspace.
This pull request would achieve it.