importPaths option in dub

ANtlord antlord92 at gmail.com
Tue Mar 27 06:34:29 UTC 2018


Hello! I work using Linux.

Is it possible to use environment variables like $HOME in option 
importPaths of Dub project file? I tried it but dub concatenates 
the path and current path so I get something like this 
/develop/project/$HOME/.dub/packages/gtk-d/generated/gtkd or 
/develop/project/~/.dub/packages/gtk-d/generated/gtkd. I can use 
$HOME in lflags-posix so it work perfectly.

Dub 1.8.0
DMD 2.079

Thanks in advance!


More information about the Digitalmars-d-learn mailing list