Files
mac_os/bin/install_dev_tools
Brooke Kuhlmann 8fbf63a783 Fixed Bash script header to dynamically load correct environment.
- Improves loading of the correct Bash environment/version, especially
  on systems that might not be using a standard install (i.e.
  Homebrew), by loading a version of Bash as defined by the environment
  rather than a hard coded path.

[ci skip]
2016-10-10 09:37:54 -06:00

17 lines
416 B
Bash
Executable File

#! /usr/bin/env bash
# DESCRIPTION
# Installs development tooling requirements.
printf "Installing Xcode CLI tools...\n"
xcode-select --install
read -p "Have you completed the Xcode CLI tools install (y/n)? " response
if [[ "$response" != "y" ]]; then
printf "ERROR: Xcode CLI tools must be installed before proceeding.\n"
exit 1
fi
printf "Installing Java...\n"
install_java "$JAVA_URL" "$JAVA_VOLUME_NAME"