On Monday, 12 March 2018 at 09:38:41 UTC, Martin Tschierschke wrote:
On Sunday, 4 March 2018 at 16:46:56 UTC, Marc wrote:
[...]

I did it this sway:
the part of dub.json:
"dependencies": {

[...]
                "mylib":{
                        "versions": "~master",
                        "path": "/home/mt/d/mylib"
                }
},

In spite of using a version directly after the used lib,
you give two parameters

  "versions" : "~master"

and

  "path": "/path_to_your_lib/"

Works well.
And in ...mylib/dub.json
you just add:

"targetType": "library",

on the top-level, and place your dir.d in ...mylib/source/

Reply via email to