Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 24, 2019 Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
How to disable dub from checking internet before building, it's slowing down build whenever it does this. |
February 25, 2019 Re: Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
Posted in reply to 0xFFFFFFFF | On Sunday, 24 February 2019 at 22:51:45 UTC, 0xFFFFFFFF wrote:
> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
Its not too well described but --nodeps skips dependency resolution (just uses the locked dependencies). Since dub only does requests for dependency resolution this stops any requests.
|
February 25, 2019 Re: Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
Posted in reply to 0xFFFFFFFF | On 25.02.2019 1:51, 0xFFFFFFFF wrote: > How to disable dub from checking internet before building, it's slowing down build whenever it does this. `--skip-registry=all` let you avoid checking of all dependencies (https://dub.pm/commandline) |
February 25, 2019 Re: Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
Posted in reply to drug | On Monday, 25 February 2019 at 06:29:14 UTC, drug wrote:
> On 25.02.2019 1:51, 0xFFFFFFFF wrote:
>> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
> `--skip-registry=all` let you avoid checking of all dependencies (https://dub.pm/commandline)
Thanks all, I believe --skip-registry=all resolves and checking the docs again it seems to be what I'm looking for. What a narrow miss!
Thanks again.
|
February 25, 2019 Re: Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
Posted in reply to 0xFFFFFFFF | On 2019-02-24 23:51, 0xFFFFFFFF wrote: > How to disable dub from checking internet before building, it's slowing down build whenever it does this. I thought that was fixed [1]. Or is it doing something else? [1] https://dlang.org/changelog/2.082.0.html#upgrade_check -- /Jacob Carlborg |
February 25, 2019 Re: Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Monday, 25 February 2019 at 18:54:03 UTC, Jacob Carlborg wrote:
> On 2019-02-24 23:51, 0xFFFFFFFF wrote:
>> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
>
> I thought that was fixed [1]. Or is it doing something else?
>
> [1] https://dlang.org/changelog/2.082.0.html#upgrade_check
Nope, it has been fixed (to my knowledge). Though I think that the OP is using an older version of dub.
|
February 27, 2019 Re: Disable dub from checking internet before building | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Monday, 25 February 2019 at 18:54:03 UTC, Jacob Carlborg wrote:
> On 2019-02-24 23:51, 0xFFFFFFFF wrote:
>> How to disable dub from checking internet before building, it's slowing down build whenever it does this.
>
> I thought that was fixed [1]. Or is it doing something else?
>
> [1] https://dlang.org/changelog/2.082.0.html#upgrade_check
Time to upgrade then.
|
Copyright © 1999-2021 by the D Language Foundation