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@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).
  • Using DUB packag... Dmitry Olshansky via Digitalmars-d-learn
    • Re: Using D... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Usi... Dmitry Olshansky via Digitalmars-d-learn
      • Re: Usi... Dmitry Olshansky via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... Dmitry Olshansky via Digitalmars-d-learn
    • Re: Using D... Denis Feklushkin via Digitalmars-d-learn
      • Re: Usi... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
        • Re:... Denis Feklushkin via Digitalmars-d-learn

Reply via email to