From 64d666b2fa42349ca15829212c3d184dee204f5c Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Wed, 15 Dec 2021 11:47:32 -0800 Subject: [PATCH] build.cmd: adding a net-bootstrap. --- build.cmd | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build.cmd b/build.cmd index eb8cd39990..ef4381353b 100644 --- a/build.cmd +++ b/build.cmd @@ -15,6 +15,8 @@ if "%1"=="/?" ( set _bootimage_version=%GIT_BRANCH% ) else if "%1"=="update" ( set _bootimage_version=%GIT_BRANCH% +) else if "%1"=="net-bootstrap" ( + set _bootimage_version=%GIT_BRANCH% ) else if "%1"=="clean" ( set _bootimage_version=clean ) else goto usage @@ -38,9 +40,11 @@ if not errorlevel 1 ( echo Deleting staging images from temp/... del temp\staging.*.image -echo Updating working copy from %GIT_BRANCH%... -call git pull https://github.com/factor/factor %GIT_BRANCH% -if errorlevel 1 goto fail +if "%1"!="net-bootstrap" ( + echo Updating working copy from %GIT_BRANCH%... + call git pull https://github.com/factor/factor %GIT_BRANCH% + if errorlevel 1 goto fail +) echo Building vm... nmake /nologo /f Nmakefile clean -- 2.34.1