Using DUB packages with Meson
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Thu Apr 27 20:48:45 UTC 2023
On 28/04/2023 1:43 AM, Denis Feklushkin wrote:
> On Wednesday, 12 April 2023 at 10:06:22 UTC, Dmitry Olshansky wrote:
>> And I did fetch & build
>
> What are possible ways to automate such download? Meson knows exactly
> which versions of packages suit to build. Is it possible, for example,
> to get somehow packages list and then download using dub fetch?
On dubs end yes, and yes.
$ dub build package at version
```
$ dub search knocker
==== registry at https://code.dlang.org/ (fallbacks registry at
https://codemirror.dlang.org/, registry at https://dub.byt
ecraft.nl/, registry at https://code-mirror.dlang.io/) ====
knocker (1.0.3) Knocks on ports to open up another. Compatible with
Knockd.
```
You can also get the entire manifest from dub-registry directly if you
want it (you shouldn't need it).
More information about the Digitalmars-d-learn
mailing list