-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
add code loading support for workspaces #53653
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
Conversation
e5ccebf to
afebb38
Compare
|
Corresponding Pkg PR at JuliaLang/Pkg.jl#3841. |
7d5a951 to
a11e2e4
Compare
base/precompilation.jl
Outdated
| end | ||
|
|
||
| if !project_is_package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| end | |
| if !project_is_package | |
| else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually kind of want to have these separate because they do sort of different things so it makes sense to me that they are properly separated.
d04ce6a to
0abc479
Compare
|
Need to check that extensions are identified properly with this. |
12efa32 to
7dabb21
Compare
|
I think this PR is pretty much done now if someone wants to look over it. |
62e160e to
6c445c4
Compare
35b2008 to
93d1fcc
Compare
This is similar to workspaces in cargo where multiple projects share a manifest https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html and upon resolving the dependencies and compat of all projects in the workspace is adhered to.
The idea is to use this for e.g. test, doc environments where you want to "overlay" a dependency graph on top of a base one.
The corresponding Pkg part of this is yet to be written.
Happy for input regarding the terminology here. I didn't adopt the "workspace" terminology here because the "base project" will typically not be empty (it will be the package project) and I think that is different from how it is in Cargo where there are no dependencies in that base project.