www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Using -J with dub

reply Bauss <streetzproductionz hotmail.com> writes:
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.
Apr 16 2016
parent reply Zekereth <viserion.thrall gmail.com> writes:
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.
Apr 16 2016
parent Bauss <streetzproductionz hotmail.com> writes:
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
Apr 16 2016