Dependency: Move `spec` / git ref inside of `Repository`
The `Dependency` struct is logically acting as an `enum`,
with 3 discrete possibilities. However, some of the logic is
piggybacking on the (original) version logic.
`Repository` is one of them, and by separating things,
we can make stronger assumptions in `Version` and `Dependency`.
1 parent e73d759 commit a9a568d99025112303f08b5c4f6ac42515d94123
@Geod24 Geod24 authored on 13 Jul 2022
Mathias LANG committed on 14 Jul 2022
Showing 4 changed files
View
source/dub/dependency.d
View
source/dub/dub.d
View
source/dub/project.d
View
source/dub/recipe/sdl.d