]> gitweb.factorcode.org Git - factor.git/commitdiff
build.sh: add compile/recopile to docs
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 9 Mar 2019 03:35:53 +0000 (21:35 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 9 Mar 2019 03:35:53 +0000 (21:35 -0600)
build.sh

index f23dd1667108b7a7f322402e7bc88a9d60c9e13d..66cf8f2dc50c58854ebe77daeaebb0de824625a9 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -729,6 +729,8 @@ usage() {
     $ECHO "  self-update - git pull, recompile, make local boot image, bootstrap"
     $ECHO "  quick-update - git pull, refresh-all, save"
     $ECHO "  update|latest - git pull, recompile, download a boot image, bootstrap"
+    $ECHO "  compile - compile the binary"
+    $ECHO "  recompile - recompile the binary"
     $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"
@@ -770,6 +772,7 @@ case "$1" in
     quick-update) update; refresh_image ;;
     update|latest) update; download_and_bootstrap ;;
     compile) find_build_info; make_factor ;;
+    recompile) find_build_info; make_clean; make_factor ;;
     bootstrap) get_config_info; bootstrap ;;
     net-bootstrap) net_bootstrap_no_pull ;;
     make-target) FIND_MAKE_TARGET=true; ECHO=false; find_build_info; exit_script ;;