2012-06-28 19:45:03 +02:00
|
|
|
|
#!/bin/bash
|
|
|
|
|
|
2012-06-18 21:46:35 +02:00
|
|
|
|
# Make sure we’re using the latest Homebrew
|
|
|
|
|
brew update
|
|
|
|
|
|
|
|
|
|
# Upgrade any already-installed formulae
|
|
|
|
|
brew upgrade
|
|
|
|
|
|
|
|
|
|
# Install what we need
|
|
|
|
|
brew install git
|
|
|
|
|
brew install node
|
2014-01-04 16:03:23 +01:00
|
|
|
|
brew install wget
|
|
|
|
|
brew install gpg2
|
|
|
|
|
brew install mysql
|
|
|
|
|
brew install imagemagick
|
2014-01-27 18:16:45 +01:00
|
|
|
|
brew install GraphicsMagick
|
2014-02-10 20:20:41 +01:00
|
|
|
|
brew install android
|
|
|
|
|
|
|
|
|
|
# fix for failing 'npm update' with brew installed node
|
|
|
|
|
# reference: https://github.com/Homebrew/homebrew/issues/22408#issuecomment-30812725
|
|
|
|
|
for man in 1 3 5 7; do
|
|
|
|
|
ln -sf /usr/local/lib/node_modules/npm/man/man${man}/* /usr/local/share/man/man${man}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
ln -sf /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
|