dune show targets
builds package dependencies before printing targets if a lockdir is present
#11521
Labels
dune show targets
builds package dependencies before printing targets if a lockdir is present
#11521
Expected Behavior
Running
dune show targets
should print the targets in the current directory and not build any dependencies. The command works as expected when no lockdir is present.Actual Behavior
Dune builds some of the project's dependencies before printing targets. This can include the compiler and take several minutes.
Reproduction
Lock a project with
dune pkg lock
, then rundune show targets --verbose
. The output will indicate that some dependencies are being built.The text was updated successfully, but these errors were encountered: