digitalmars.D.learn - importPaths option in dub
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!
Mar 26 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?
Mar 27 2018