Thread overview
Using -J with dub
Apr 16, 2016
Bauss
Apr 16, 2016
Zekereth
Apr 17, 2016
Bauss
April 16, 2016
Is there a way to achieve using -J through dub, preferable through dub.json

I can't seem to find anything through the dub.json docs on how to pass regular dmd flags.
April 16, 2016
On Saturday, 16 April 2016 at 20:57:10 UTC, Bauss wrote:
> Is there a way to achieve using -J through dub, preferable through dub.json
>
> I can't seem to find anything through the dub.json docs on how to pass regular dmd flags.

For just -J option use stringImportPaths "<path>". For other commands use the dflags option.
April 17, 2016
On Saturday, 16 April 2016 at 23:46:58 UTC, Zekereth wrote:
> On Saturday, 16 April 2016 at 20:57:10 UTC, Bauss wrote:
>> Is there a way to achieve using -J through dub, preferable through dub.json
>>
>> I can't seem to find anything through the dub.json docs on how to pass regular dmd flags.
>
> For just -J option use stringImportPaths "<path>". For other commands use the dflags option.

Thank you