Skip to content

Commit

Permalink
build.sh/build.cmd: support both latest and update
Browse files Browse the repository at this point in the history
  • Loading branch information
erg committed Mar 30, 2016
1 parent 9b3e522 commit 82960e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if "%1"=="/?" (
set _bootimage_version=latest
) else if "%1"=="latest" (
set _bootimage_version=latest
) else if "%1"=="update" (
set _bootimage_version=latest
) else if "%1"=="clean" (
set _bootimage_version=clean
) else goto usage
Expand Down
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ usage() {
$ECHO " deps-macosx - install git on MacOSX using port"
$ECHO " self-update - git pull, recompile, make local boot image, bootstrap"
$ECHO " quick-update - git pull, refresh-all, save"
$ECHO " update - git pull, recompile, download a boot image, bootstrap"
$ECHO " update|latest - git pull, recompile, download a boot image, bootstrap"
$ECHO " bootstrap - bootstrap with existing boot image"
$ECHO " net-bootstrap - recompile, download a boot image, bootstrap"
$ECHO " make-target - find and print the os-arch-cpu string"
Expand Down Expand Up @@ -713,6 +713,7 @@ case "$1" in
self-update) update; make_boot_image; bootstrap;;
quick-update) update; refresh_image ;;
update) update; download_and_bootstrap ;;
latest) update; download_and_bootstrap ;;
bootstrap) get_config_info; bootstrap ;;
net-bootstrap) net_bootstrap_no_pull ;;
make-target) FIND_MAKE_TARGET=true; ECHO=false; find_build_info; exit_script ;;
Expand Down

0 comments on commit 82960e8

Please sign in to comment.