Last active
December 24, 2015 08:39
-
-
Save pixline/6772452 to your computer and use it in GitHub Desktop.
homebrew local setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
homebrew_packages=( | |
freetype | |
jpeg | |
libpng | |
gd | |
zlib | |
openssl | |
unixodbc | |
jslint | |
node | |
percona-server | |
percona-toolkit | |
php55 | |
php55-geoip | |
php55-http | |
php55-imagick | |
php55-mcrypt | |
php55-memcache | |
php55-memcached | |
php55-pcntl | |
php55-pspell | |
php55-ssh2 | |
php55-yaml | |
phpunit | |
phpmd | |
phploc | |
phplint | |
phpdocumentor | |
) | |
pear_channels=( | |
pear.phpunit.de | |
) | |
pear_packages=( | |
PHPDoc | |
phpunit/PHP_CodeCoverage | |
phpunit/PHP_CodeSniffer | |
phpunit/PHPUnit | |
phpunit/PHPUnit_Selenium | |
phpunit/PHPUnit_MockObject | |
phpunit/phpcov | |
phpunit/phpcpd | |
phpunit/phpdcd-0.9.3 | |
phpunit/phploc | |
) | |
npm_packages=( | |
grunt-asciify | |
grunt-cli | |
grunt-contrib-uglify | |
grunt-contrib-compress | |
grunt-contrib-csslint | |
grunt-contrib-imagemin | |
grunt-css | |
grunt-curl | |
grunt-jslint | |
grunt-rsync | |
grunt-phpcs | |
grunt-phpdocumentor | |
grunt-phplint | |
grunt-shell | |
) | |
echo " # Homebrew upgrade " | |
brew tap homebrew/dupes | |
brew tap josegonzalez/homebrew-php | |
brew update | |
brew upgrade | |
echo " # Homebrew packages " | |
for pkg in "${homebrew_packages[@]}" | |
do | |
echo " * brew install $pkg " | |
brew install $pkg | |
done | |
echo " # PEAR upgrade " | |
for chan in "${pear_channels[@]}" | |
do | |
pear channel-discover $chan | |
done | |
echo " # PEAR packages " | |
for pearpkg in "${pear_packages[@]}" | |
do | |
pear install -a $pearpkg | |
done | |
echo " # NODE packages " | |
for npm in "${npm_packages[@]}" | |
do | |
npm install -g $npm | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment