Re: Disable dub from checking internet before building

2019-02-27 Thread 0xFFFFFFFF via Digitalmars-d-learn

On Monday, 25 February 2019 at 18:54:03 UTC, Jacob Carlborg wrote:

On 2019-02-24 23:51, 0x 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.


Re: Disable dub from checking internet before building

2019-02-25 Thread Seb via Digitalmars-d-learn

On Monday, 25 February 2019 at 18:54:03 UTC, Jacob Carlborg wrote:

On 2019-02-24 23:51, 0x 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.


Re: Disable dub from checking internet before building

2019-02-25 Thread Jacob Carlborg via Digitalmars-d-learn

On 2019-02-24 23:51, 0x 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


Re: Disable dub from checking internet before building

2019-02-25 Thread 0xFFFFFFFF via Digitalmars-d-learn

On Monday, 25 February 2019 at 06:29:14 UTC, drug wrote:

On 25.02.2019 1:51, 0x 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.


Re: Disable dub from checking internet before building

2019-02-24 Thread drug via Digitalmars-d-learn

On 25.02.2019 1:51, 0x 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)


Re: Disable dub from checking internet before building

2019-02-24 Thread Benjamin Schaaf via Digitalmars-d-learn

On Sunday, 24 February 2019 at 22:51:45 UTC, 0x 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.


Disable dub from checking internet before building

2019-02-24 Thread 0xFFFFFFFF via Digitalmars-d-learn
How to disable dub from checking internet before building, it's 
slowing down build whenever it does this.