Skip to content

Add a helper to skip nuget restore during local builds#6339

Merged
zadjii-msft merged 1 commit intomasterfrom
dev/migrie/f/_SKIP_NUGET_RESTORE
Jun 4, 2020
Merged

Add a helper to skip nuget restore during local builds#6339
zadjii-msft merged 1 commit intomasterfrom
dev/migrie/f/_SKIP_NUGET_RESTORE

Conversation

@zadjii-msft
Copy link
Member

Running nuget restore on every build is pretty unnecessary - usually, you know when you need to run it. For the inner dev loop, this is a few seconds on every bx build.

This adds a environment variable you can set to skip the nuget restore part of a bcz build.

Add the following to your .razzlerc.cmd:

set _SKIP_NUGET_RESTORE=1

and bcz (and the other helpers) won't perform a nuget restore on every build.

@zadjii-msft zadjii-msft added Area-Build Issues pertaining to the build system, CI, infrastructure, meta Product-Meta The product is the management of the products. Issue-Task It's a feature request, but it doesn't really need a major design. labels Jun 3, 2020
@zadjii-msft zadjii-msft added the Needs-Second It's a PR that needs another sign-off label Jun 3, 2020
@ghost ghost requested review from carlos-zamora and leonMSFT June 3, 2020 21:41
@zadjii-msft zadjii-msft merged commit 52c0145 into master Jun 4, 2020
@zadjii-msft zadjii-msft deleted the dev/migrie/f/_SKIP_NUGET_RESTORE branch June 4, 2020 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Build Issues pertaining to the build system, CI, infrastructure, meta Issue-Task It's a feature request, but it doesn't really need a major design. Needs-Second It's a PR that needs another sign-off Product-Meta The product is the management of the products.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants