Skip to content

Instantly share code, notes, and snippets.

@donkaban
Last active March 16, 2017 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donkaban/c9d2e9c0521caa2fb92d0d472998a335 to your computer and use it in GitHub Desktop.
Save donkaban/c9d2e9c0521caa2fb92d0d472998a335 to your computer and use it in GitHub Desktop.
#!/bin/bash
# its automatic create file from kaban's workplace
NAME=$(uname -s)
echo set prerequisites for ${NAME} platform ...
if [ $NAME == "Darwin" ]; then
if [ ! -f /usr/local/bin/brew ]; then
echo install brew ...
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
brew install coreutils midnight-commander git python cmake
brew install lua luajit ssh-copy-id
brew install mercurial wget doxygen graphviz
brew install android-sdk android-ndk
brew cleanup && brew prune
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment