www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Disable dub from checking internet before building

reply 0xFFFFFFFF <0xFFFFFFFF mail.com> writes:
How to disable dub from checking internet before building, it's 
slowing down build whenever it does this.
Feb 24 2019
next sibling parent Benjamin Schaaf <ben.schaaf gmail.com> writes:
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.
Feb 24 2019
prev sibling next sibling parent reply drug <drug2004 bk.ru> writes:
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)
Feb 24 2019
parent 0xFFFFFFFF <0xFFFFFFFF mail.com> writes:
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.
Feb 25 2019
prev sibling parent reply Jacob Carlborg <doob me.com> writes:
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
Feb 25 2019
next sibling parent Seb <seb wilzba.ch> writes:
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.
Feb 25 2019
prev sibling parent 0xFFFFFFFF <0xFFFFFFFF mail.com> writes:
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.
Feb 27 2019