Refactored Homebrew software as Homebrew Formulas.

- Allows for expansion of additional Homebrew software in the future
  (i.e. taps, bottles, casks, etc.)
This commit is contained in:
Brooke Kuhlmann
2017-02-17 19:18:02 -07:00
parent 38fa30a028
commit 79f7103179
4 changed files with 39 additions and 39 deletions

View File

@@ -1,18 +0,0 @@
#! /usr/bin/env bash
# DESCRIPTION
# Installs Homebrew software.
# SETTINGS
set -o nounset
set -o errexit
set -o pipefail
IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH"
else
printf "WARNING: Homebrew install script does not exist or is not executable.\n"
fi

18
bin/install_homebrew_formulas Executable file
View File

@@ -0,0 +1,18 @@
#! /usr/bin/env bash
# DESCRIPTION
# Installs Homebrew Formula software.
# SETTINGS
set -o nounset
set -o errexit
set -o pipefail
IFS=$'\n\t'
SCRIPT_PATH="$MAC_OS_CONFIG_PATH/bin/install_homebrew_formulas"
# EXECUTION
if [[ -x "$SCRIPT_PATH" ]]; then
"$SCRIPT_PATH"
else
printf "WARNING: Homebrew Formulas install script does not exist or is not executable.\n"
fi

View File

@@ -39,7 +39,7 @@ while true; do
printf " Install:\n" printf " Install:\n"
printf " b: Apply basic settings.\n" printf " b: Apply basic settings.\n"
printf " t: Install development tools.\n" printf " t: Install development tools.\n"
printf " h: Install Homebrew software.\n" printf " hf: Install Homebrew Formulas.\n"
printf " m: Install Mac App Store software.\n" printf " m: Install Mac App Store software.\n"
printf " a: Install application software.\n" printf " a: Install application software.\n"
printf " x: Install application software extensions.\n" printf " x: Install application software extensions.\n"

View File

@@ -14,8 +14,8 @@ process_option() {
bin/apply_basic_settings;; bin/apply_basic_settings;;
't') 't')
bin/install_dev_tools;; bin/install_dev_tools;;
'h') 'hf')
bin/install_homebrew;; bin/install_homebrew_formulas;;
'm') 'm')
bin/install_app_store;; bin/install_app_store;;
'a') 'a')