digitalmars.D.learn - Need advice on using DUB registry
- Eric (8/8) Apr 01 2017 I'm planning on some day putting a package in the DUB registry.
- rikki cattermole (3/9) Apr 01 2017 Dub can't use git submodules.
I'm planning on some day putting a package in the DUB registry. My package is dependent on my "util" package which is a collection of stuff I use across all my projects. Does this mean I also have to put my util package in the DUB registry? Could I just make "util" a git sub module of the package I want to release?
Apr 01 2017
On 02/04/2017 2:37 AM, Eric wrote:I'm planning on some day putting a package in the DUB registry. My package is dependent on my "util" package which is a collection of stuff I use across all my projects. Does this mean I also have to put my util package in the DUB registry? Could I just make "util" a git sub module of the package I want to release?Dub can't use git submodules. In fact it doesn't know anything about git!
Apr 01 2017
On Sunday, 2 April 2017 at 04:14:56 UTC, rikki cattermole wrote:On 02/04/2017 2:37 AM, Eric wrote:So is the answer to my question, "yes, you need to put your util package in the DUB registry also?"I'm planning on some day putting a package in the DUB registry. My package is dependent on my "util" package which is a collection of stuff I use across all my projects. Does this mean I also have to put my util package in the DUB registry? Could I just make "util" a git sub module of the package I want to release?Dub can't use git submodules. In fact it doesn't know anything about git!
Apr 02 2017
02.04.2017 17:43, Eric пишет:On Sunday, 2 April 2017 at 04:14:56 UTC, rikki cattermole wrote:You can clone git submodules using preBuildCommands in dub.sdl. Also you can use add-local and add this package to dub locally (but of course it won't work for others). And the finally put your package to dub registry. I do all of them depending on the situation.On 02/04/2017 2:37 AM, Eric wrote:So is the answer to my question, "yes, you need to put your util package in the DUB registry also?"I'm planning on some day putting a package in the DUB registry. My package is dependent on my "util" package which is a collection of stuff I use across all my projects. Does this mean I also have to put my util package in the DUB registry? Could I just make "util" a git sub module of the package I want to release?Dub can't use git submodules. In fact it doesn't know anything about git!
Apr 02 2017