Allow to load dub.selections.json before Project instantiation
The aim of this commit is to have at least one constructor for Project that does not perform IO. By moving the IO to the `Dub` class, we can keep the dependency injection in `Dub` and `PackageManager` only, and don't have to specialize `Project`. |
---|
|
source/dub/dub.d |
---|
source/dub/project.d |
---|