From: John Benediktsson Date: Wed, 15 Dec 2021 19:47:32 +0000 (-0800) Subject: build.cmd: adding a net-bootstrap. X-Git-Tag: 0.99~2222 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=64d666b2fa42349ca15829212c3d184dee204f5c build.cmd: adding a net-bootstrap. --- 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