www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - dub git dependencies

reply bogdan <szabobogdan3 gmail.com> writes:
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
Feb 28
parent Andre Pany <andre s-e-a-p.de> writes:
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
Feb 28