November 22, 2018 Wrapping a Dub project inside Meson | ||||
---|---|---|---|---|
| ||||
Does anyone have experience with using meson to wrap around a dub project? I have a typical dub project, meaning I have a dub dependency but I want to use meson for two reasons: 1. I want to distribute the application in form of a snap package (https://snapcraft.io/). Snapcraft does not recognize dub as a build tool afaik. 2. dub lacks very basic options like installing an app in users' PATH (https://github.com/dlang/dub/issues/839). The issue seems to be stalled for a while, which is quite a shame. What I want to do is basically when I write `ninja` it should invoke `dub build`. |
November 22, 2018 Re: Wrapping a Dub project inside Meson | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adnan | On Thursday, 22 November 2018 at 02:46:03 UTC, Adnan wrote:
> Does anyone have experience with using meson to wrap around a dub project?
>
> I have a typical dub project, meaning I have a dub dependency but I want to use meson for two reasons:
>
> 1. I want to distribute the application in form of a snap package (https://snapcraft.io/). Snapcraft does not recognize dub as a build tool afaik.
>
> 2. dub lacks very basic options like installing an app in users' PATH (https://github.com/dlang/dub/issues/839). The issue seems to be stalled for a while, which is quite a shame.
>
> What I want to do is basically when I write `ninja` it should invoke `dub build`.
I would like to have a "dub plugin" for snapcraft (and other packaging systems).
Adding "install" to dub sounds it's like re-inventing the wheel to me.
Andrea
|
Copyright © 1999-2021 by the D Language Foundation