digitalmars.D.learn - Dub dependencies / How to use own Github fork?
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (7/7) May 30 2019 Is there a best practice how I can use a fork if mine of a project that
- Andre Pany (7/12) May 30 2019 Github introduced package registry. While dub is not supported,
- Steven Schveighoffer (4/10) May 30 2019 You can dub add-local your local fork, and it will use that instead of
- =?iso-8859-1?Q?Robert_M._M=FCnch?= (6/8) Jun 01 2019 Ok, any chance to switch back and forth between local/remote versions?
- Jacob Carlborg (8/14) Jun 04 2019 If you developing a package and a dependency simultaneously and don't
Is there a best practice how I can use a fork if mine of a project that can be access via "dependencies": {...} so that my own code is used? I think that would make it pretty easy to switch between different versions. -- Robert M. Münch http://www.saphirion.com smarter | better | faster
May 30 2019
On Thursday, 30 May 2019 at 16:45:45 UTC, Robert M. Münch wrote:Is there a best practice how I can use a fork if mine of a project that can be access via "dependencies": {...} so that my own code is used? I think that would make it pretty easy to switch between different versions.Github introduced package registry. While dub is not supported, maven is supported and Dub is able to speak Maven. You may have a try. https://github.blog/2019-05-10-introducing-github-package-registry/ Kind regards Andre
May 30 2019
On 5/30/19 12:45 PM, Robert M. Münch wrote:Is there a best practice how I can use a fork if mine of a project that can be access via "dependencies": {...} so that my own code is used? I think that would make it pretty easy to switch between different versions.You can dub add-local your local fork, and it will use that instead of going out to code.dlang.org. -Steve
May 30 2019
On 2019-05-30 18:29:44 +0000, Steven Schveighoffer said:You can dub add-local your local fork, and it will use that instead of going out to code.dlang.org.Ok, any chance to switch back and forth between local/remote versions? -- Robert M. Münch http://www.saphirion.com smarter | better | faster
Jun 01 2019
On 2019-06-01 14:09, Robert M. Münch wrote:On 2019-05-30 18:29:44 +0000, Steven Schveighoffer said:If you developing a package and a dependency simultaneously and don't what to publish new versions of the dependency all the time I recommend specifying the path to the dependency, see "Use a folder to source a package from" [1]. [1] https://dub.pm/package-format-sdl.html#version-specs -- /Jacob CarlborgYou can dub add-local your local fork, and it will use that instead of going out to code.dlang.org.Ok, any chance to switch back and forth between local/remote versions?
Jun 04 2019