-
Notifications
You must be signed in to change notification settings - Fork 410
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
Configure variable set by jbuilder exec
#205
Comments
Possibly. I suppose we'd have to think about what happens when the variable is already set manually by the user and why not set it during the build as well, etc... TBH at this point I'd much rather see progress on #23 or #35 :) These would benefit a lot more people and are hard to workaround, contrary to this request |
Do you need anything from me in #35? |
Just the changes we discussed by mail, i.e. having a field |
Hi @bobot, The simplest version would be to allow Would that fit your use case? Thanks! |
Yes it will. The definition of these variables should allow variable expansions such as the local directory where the I'm just wondering if |
@bobot, yep, you can already use |
Closes #205 Signed-off-by: Etienne Millon <[email protected]>
* Set environment variables through the workspace Closes ocaml#205 Signed-off-by: Etienne Millon <[email protected]>
Some tools need to access files in its own share directory. The path to its share module once installed is often hard coded in the binary, but an environment variable allows to change this value. In order to be able to use
jbuilder exec
with such tools we need to set the environment variable.Could we add to
jbuild
file format?EDIT: forgot a parenthesis for the list
The text was updated successfully, but these errors were encountered: