You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background information to understand the issue: I am creating a XMake build infrastructure for the D Programming Language. There are some "golden rules" which I have to follow. I am not allowed to access the internet (code.dlang.org) during the build.
I just learned there is a parameter --nodeps (Do not check/update dependencies before building) for dub build. Although I use this parameter, the same error message is shown. Is this the correct behavior of --nodeps? I understand the description, that the check which causes the error message should not occur.
Background information to understand the issue: I am creating a XMake build infrastructure for the D Programming Language. There are some "golden rules" which I have to follow. I am not allowed to access the internet (code.dlang.org) during the build.
The consequence is, all dependencies have to be included. In my dub project I use the dub package "d-unit" which has an optional dependency to "unit-threaded" (https://github.com/linkrope/dunit/blob/master/dub.json#L24)
I extracted the d-unit zip file (https://github.com/linkrope/dunit/archive/v0.8.1.zip) into the main dub folder and added the dependency with "path" information.
As mentioned, the dub build command is not allowed to use the internet and therefore has the skip argument:
dub build --skip-registry=all
The build fails due to the optional dependency to unit-threaded
My proposal is to have a lazy dependency resolvement. As long as a configuration is not used, the dependencies should not be downloaded.
The text was updated successfully, but these errors were encountered: