helm/install/c++

22 lines
399 B
Plaintext
Raw Normal View History

2013-10-21 03:44:57 -07:00
#!/usr/bin/env zsh
source ~/.dotfiles/zsh/functions
BASEDIR=$(dirname "$0")
echo_g "==> C++: Making sure prereqs are installed (cmake + git)"
pkg_install cmake
is_mac && pkg_install git
is_deb && pkg_install git-core
while [ $# -gt 0 ]; do
case "$1" in
"--sfml") $BASEDIR/cpp/sfml ;;
"--artemis") $BASEDIR/cpp/artemis ;;
esac
shift
done
echo_g "==> C++: All done!"