Skip to content

Instantly share code, notes, and snippets.

@LibertyDevs
LibertyDevs / gist:f9d851fce2fb08d0420f
Created October 3, 2014 10:38
brewApplicationInstall.sh
#!/usr/bin/env bash
# stop if an error occurs or undefined variable.
set -eu
# Make sure using latest Homebrew
brew update
# Update already-installed formula (takes too much time, I will do it manually later)
# upgrade
// stg を追加
if (in_array($this->getEnvironment(), array('dev', 'test', 'stg'))) {