dub git dependencies

Andre Pany andre at s-e-a-p.de
Sun Feb 28 13:10:18 UTC 2021


On Sunday, 28 February 2021 at 11:11:27 UTC, bogdan wrote:
> Hi,
>
> I remember that I saw a while ago some PRs related to adding a 
> git url for a dependency in the dub's package.json. I looked 
> today in the docs and I can't find any info about this. What is 
> the progress for this feature? Can we use it already?
>
> https://dub.pm/package-format-json.html#version-syntax
>
>
> Bogdan

Yes, it is there, whether it is already documented somewhere I do 
not know.

See an example here:
https://github.com/dlang/dub/blob/05165362127aadad088fd178622c83c03393411b/test/git-dependency/dub.json

Kind regards
Andre



More information about the Digitalmars-d-learn mailing list