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`.
1 parent 9fd2ab8 commit b3350d14152342e8d805969b1873a3325413dfa0
@Mathias Lang Mathias Lang authored on 22 Dec 2023
The Dlang Bot committed on 26 Dec 2023
Showing 2 changed files
View
source/dub/dub.d
View
source/dub/project.d