How hard would it be to create a dub2deb tool?

Jacob Carlborg doob at me.com
Thu Feb 18 07:01:19 UTC 2021


On Wednesday, 17 February 2021 at 17:14:35 UTC, deadalnix wrote:
> For reference, this is what I'm referring to: 
> https://github.com/LeoIannacone/npm2deb
>
> I don't think that would be too hard, but, at the same time, 
> I'm not super familiar with the dub ecosystem to be honest so 
> maybe there is something I'm overlooking.
>
> I think such a tool would be super valuable as it would 
> increase options to access d libs. This seems to be a low 
> hanging fruit.

There's a tool called FPM [1], which is somewhat of a Swiss army 
knife when it comes to building and converting packages of 
various kinds. If support for Dub is added to that, then it would 
be possible to output Deb, RPM, tar, macOS .pkg and a couple of 
other packages as well.

[1] https://github.com/jordansissel/fpm

--
/Jacob Carlborg


More information about the Digitalmars-d mailing list