Dub Error Message "Invalid variable: DUB"

Andre Pany andre at s-e-a-p.de
Sun Jun 7 12:52:12 UTC 2020


On Sunday, 7 June 2020 at 11:21:03 UTC, Jacob Carlborg wrote:
> On 2020-06-07 11:24, Russel Winder wrote:
>> Hi,
>> 
>> Why on earth is Dub sending out this error message (Invalid 
>> variable: DUB) on
>> GitLab but not on Travis-CI or locally?
>> 
>> OK, that was slightly rhetorical, more reasonably, why is dub 
>> sending out this
>> message at all?
>
> Dub is supposed to make an environment variable named "DUB" 
> available to the build script. It should contain the path to 
> the Dub executable. I guess that somehow fails. Might be some 
> unexpected character in the path?

I am not sure but $DUB is a variable which could be used in dub 
descriptor file but it isn't an environment variable.

$DUB_EXE is an environment variable.

Kind regards
Andre


More information about the Digitalmars-d-learn mailing list