Do not call Project.reinit from commandline
reinit is called directly when Project is instantiated. It calls PackageManager.refresh,
which re-reads all packages stored in the package directory.
If we want to make dub smarter and faster, we need to stop scanning all the packages
on disk when we have a resolved dependency tree, and move to a lazy/on-demand approach.
The first step would be to remove this call. See also #2388.
1 parent ea75d53 commit ec2de053469ed6c7f69f928d1b0222803f84d603
@Geod24 Geod24 authored on 28 Jul 2022
Mathias LANG committed on 28 Jul 2022
Showing 1 changed file
View
source/dub/commandline.d