Added Homebrew Casks install script.

- Provides support for installing Homebrew Casks.
This commit is contained in:
Brooke Kuhlmann
2017-02-17 19:27:37 -07:00
parent 79f7103179
commit 8bf0ef473d
3 changed files with 21 additions and 0 deletions

18
bin/install_homebrew_casks Executable file
View File

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

View File

@@ -40,6 +40,7 @@ while true; do
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 " hf: Install Homebrew Formulas.\n" printf " hf: Install Homebrew Formulas.\n"
printf " hc: Install Homebrew Casks.\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

@@ -16,6 +16,8 @@ process_option() {
bin/install_dev_tools;; bin/install_dev_tools;;
'hf') 'hf')
bin/install_homebrew_formulas;; bin/install_homebrew_formulas;;
'hc')
bin/install_homebrew_casks;;
'm') 'm')
bin/install_app_store;; bin/install_app_store;;
'a') 'a')