Will this features be accepted for DUB?

drug via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 16 07:49:50 PST 2016


16.12.2016 18:09, Ilya Yaroshenko пишет:
>
> This approach does not work for Mir GLAS.
> http://forum.dlang.org/post/dfqcgdfnxmnkreywoyhl@forum.dlang.org
>
> I can build a Mir GLAS library with DUB. But I can not do it
> automatically with DUB, but want to do it.
>
> For example:
> ---
> "dependencies": {
>     "mir-glas": "<its recent version>"
> }
> ---
> will not work for a user because mir-glas should be prebuilded with the
> following command:
You can link mir-glas as binary lib, not source one, so there is no this 
dependency at all.
In preBuilt phase you can check if mir-glas is recent and update+build 
it if no with the flags you needed. This way user will use your custom 
scripts for using mir-glass and dub for the rest.
>
> dub build --config=static --build=target-native --compiler=ldmd2
> --build-mode=singleFile --parallel
>
> And it should be builded this way whatever compiler and dub options user
> use for his project.
>
> Ilya


More information about the Digitalmars-d mailing list