2018-03-23 13:04:43 -07:00
|
|
|
#!/usr/bin/env zsh
|
|
|
|
source ${0:A:h}/../../deploy
|
|
|
|
|
|
|
|
install() {
|
|
|
|
wget -O $XDG_BIN_HOME/glslangValidator https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang/Install/Linux/glslangValidator
|
|
|
|
case $(_os) in
|
|
|
|
macos)
|
|
|
|
brew install cmake bear gdb
|
|
|
|
echo "Note: gdb requires additional setup on MacOS, see https://sourceware.org/gdb/wiki/BuildingOnDarwin"
|
|
|
|
;;
|
2018-05-24 12:35:12 -07:00
|
|
|
arch) yay --needed --noconfirm -S cmake bear gdb ;;
|
2018-03-23 13:04:43 -07:00
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
|
|
|
# update() {}
|
|
|
|
|
|
|
|
# link() {}
|
|
|
|
|
|
|
|
# clean() {}
|
|
|
|
|
|
|
|
init "$@"
|