Updated run script to distinquish between applications and libraries

Necessary to improve the install reliability of software and
associated libraries (extensions). There is now a split between core
installation of applications and associated libraries. This is a loose
split since everything in the *Install* category is mostly
applications but also contains related setup while the *Libraries*
category requires a machine reboot so the fully configured environment
is loaded to ensure all libraries install properly.

The specifics of these changes will be handled in the corresponding
macOS Configuration project.
This commit is contained in:
Brooke Kuhlmann
2022-12-24 07:35:00 -07:00
parent 1ef42c9040
commit 4159fbce71
2 changed files with 23 additions and 21 deletions

11
bin/run
View File

@@ -37,14 +37,15 @@ while true; do
printf " m: Install Mac App Store software.\n"
printf " a: Install application software.\n"
printf " x: Install application software extensions.\n"
printf " df: Install dotfiles.\n"
printf " d: Install defaults.\n"
printf " s: Install shell.\n"
printf " r: Restore backups.\n"
printf " i: Install all (i.e. executes all of the above steps in order listed).\n"
printf " Libraries:\n"
printf " np: Install Node packages.\n"
printf " rg: Install Ruby gems.\n"
printf " rc: Install Rust crates.\n"
printf " d: Install defaults.\n"
printf " i: Install all (i.e. executes all of the above steps in order listed).\n"
printf " Restore:\n"
printf " R: Restore settings from backup.\n"
printf " l: Install libraries (i.e. executes all of the above steps in order listed).\n"
printf " Manage:\n"
printf " c: Check status of managed software.\n"
printf " C: Caffeinate machine.\n"

View File

@@ -22,16 +22,12 @@ process_option() {
bin/install_applications;;
'x')
bin/install_extensions;;
'df')
bin/install_dotfiles;;
'np')
bin/install_node_packages;;
'rg')
bin/install_ruby_gems;;
'rc')
bin/install_rust_crates;;
'd')
bin/install_defaults;;
's')
bin/install_shell;;
'r')
bin/restore_backup;;
'i')
caffeinate_machine
bin/install_basics
@@ -41,16 +37,21 @@ process_option() {
bin/install_app_store
bin/install_applications
bin/install_extensions
bin/install_dotfiles
bin/install_defaults
bin/install_shell
bin/restore_backup
clean_work_path;;
'np')
bin/install_node_packages;;
'rg')
bin/install_ruby_gems;;
'rc')
bin/install_rust_crates;;
'l')
bin/install_node_packages
bin/install_ruby_gems
bin/install_rust_crates
bin/install_defaults
clean_work_path;;
'R')
caffeinate_machine
bin/restore_backup;;
'c')
bin/install_rust_crates;;
'c')
verify_homebrew_formulas
verify_homebrew_casks
verify_app_store_applications