importPaths option in dub

bauss jj_1337 at live.dk
Tue Mar 27 08:12:41 UTC 2018


On Tuesday, 27 March 2018 at 06:34:29 UTC, ANtlord wrote:
> 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!

I don't think so, but someone could correct me. I just remember 
having tried with something similar in the past, but it was 
sourcePath I think?


More information about the Digitalmars-d-learn mailing list