Dub Error Message "Invalid variable: DUB"
Russel Winder
russel at winder.org.uk
Sun Jun 7 10:06:14 UTC 2020
On Sun, 2020-06-07 at 10:24 +0100, 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?
I am assuming that the error comes from the line:
preBuildCommands "$DUB run --compiler=$$DC unit-threaded -c gen_ut_main -- -f generated/ut_dub_main.d -d $DUB"
in the unittest configuration as suggested for using unit-threaded. The
question is why does the symbol DUB not need to be defined locally or on
Travis-CI, but only on GitLab?
|> printenv | grep -i dub
|>
On Travis-CI and locally Dub find where it is, why does it not do this on
GitLab? It is at /usr/bin/dub in all cases.
--
Russel.
===========================================
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Road m: +44 7770 465 077
London SW11 1EN, UK w: www.russel.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20200607/70fe1d1e/attachment.sig>
More information about the Digitalmars-d-learn
mailing list