Added Homebrew Casks install script.
- Provides support for installing Homebrew Casks.
This commit is contained in:
18
bin/install_homebrew_casks
Executable file
18
bin/install_homebrew_casks
Executable 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
|
||||||
1
bin/run
1
bin/run
@@ -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"
|
||||||
|
|||||||
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user