On Saturday, 11 May 2019 at 14:27:50 UTC, Russel Winder wrote:
Hi,
Is there a way of asking which version of package XXX "dub
fetch XXX"
will actually fetch. I would like to avoid checking the
contents of
~/.dub/packages before and after.
Use the `--annotate` option:
$ dub fetch dlangide --annotate
Fetching dlangide 0.8.17...
Please note that you need to use `dub run <pkgname>` or add it to
dependencies of your package to actually use/run it. dub does not
do actual installation of packages outside of its own ecosystem.