Re: Dub dependencies / How to use own Github fork?
On 2019-06-01 14:09, Robert M. Münch wrote: On 2019-05-30 18:29:44 +, 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? 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 Carlborg
Re: Dub dependencies / How to use own Github fork?
On 2019-05-30 18:29:44 +, 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
Re: Dub dependencies / How to use own Github fork?
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
Re: Dub dependencies / How to use own Github fork?
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
Dub dependencies / How to use own Github fork?
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