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

Specify an additional library search directory #25

Open
moleike opened this issue Apr 8, 2021 · 0 comments
Open

Specify an additional library search directory #25

moleike opened this issue Apr 8, 2021 · 0 comments
Labels
command line enhancement New feature or request good first issue Good for newcomers

Comments

@moleike
Copy link
Owner

moleike commented Apr 8, 2021

Add a -J / --jpath <dir> option in the cmdline executable to specify additional library search directories, right-most wins.

The additional paths are tried if it fails to load a module relative to the file it's imported from.
Here is how's it's done in the C++ implementation: https://github.com/google/jsonnet/blob/master/core/libjsonnet.cpp#L232

@moleike moleike added enhancement New feature or request good first issue Good for newcomers labels Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command line enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant