How to setup dub project for contributing to a dub package?

Ki Rill rill.ki at yahoo.com
Sat Jun 24 00:23:19 UTC 2023


On Friday, 23 June 2023 at 15:52:44 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> First things first, dcv is added to the dub-registry, so use 
> this.
>
> https://code.dlang.org/packages/dcv
>
> ```json
> "dependencies": {
> 	"dcv": "~>0.3.0"
> }
> ```
>
> For ffmpeg the binding tells you what to add for search paths 
> in the lflags directive.
>
> https://github.com/ljubobratovicrelja/ffmpeg-d#adding-to-dub
>
> All I can suggest is make sure you have the right dev packages 
> for ffmpeg installed and findable by the linker.

It works fine if I add it as a `dub` package, but I want to add 
the repository so I can modify it, then test it on a new project, 
and make a PR that improves the package.

How do people usually set up their projects for such tasks?


More information about the Digitalmars-d-learn mailing list