On 28/10/2022 5:40 AM, DLearner wrote:
Maybe fewer people use it under Windows, so Windows constructs don't get
exercised so much.
I have actively contributed to dub specifically for Windows in the last
year :)
There is enough of us.
Also UNC paths (those with drives and then the slash) are actually
absolute, not relative.
There are relative ones, but the path processing in dub is pretty
simplified.
You have to stick to completely relative, POSIX style.
https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats
You should be working with relatives paths in respect to the
$PACKAGE_DIR, not the compiler or any root location of your file system
(such as the drive would indicate).
https://dub.pm/package-format-json.html#environment-variables