helm/install/c++
2013-10-21 06:44:57 -04:00

22 lines
399 B
Bash
Executable file

#!/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!"