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

Allow subdirectories relative to @. #31373

Open
simonbyrne opened this issue Mar 15, 2019 · 1 comment
Open

Allow subdirectories relative to @. #31373

simonbyrne opened this issue Mar 15, 2019 · 1 comment

Comments

@simonbyrne
Copy link
Contributor

It would be handy to be able to do julia --project=@./subdir and have it find the first parent Project.toml, then use subdir/Project.toml instead.

The use case is when running a project with optional GPU support: we have a main Project.toml file, then env/gpu/Project.toml with GPU support. Then from any subdirectory of the main repo I want to be able to julia --project=@./env/gpu and have it find the right file.

@fredrikekre fredrikekre transferred this issue from JuliaLang/Pkg.jl Mar 16, 2019
@StefanKarpinski
Copy link
Sponsor Member

Design question: should it be allowed to search beyond the root? Presumably since @. allows that but maybe not since in that case it would be useless otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants