]> gitweb.factorcode.org Git - factor.git/commitdiff
build.cmd: adding a net-bootstrap.
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Dec 2021 19:47:32 +0000 (11:47 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 15 Dec 2021 19:47:32 +0000 (11:47 -0800)
build.cmd

index eb8cd39990543302e0627e13f6af87f1d4c2ce36..ef4381353bf3df8d441faafcb149d01f70a7a0ae 100644 (file)
--- 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