diff --git a/dev/cc/_init b/dev/cc/_init new file mode 100755 index 00000000..75176e76 --- /dev/null +++ b/dev/cc/_init @@ -0,0 +1,21 @@ +#!/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" + ;; + arch) pacaur --needed --noconfirm -S cmake bear gdb ;; + esac +} + +# update() {} + +# link() {} + +# clean() {} + +init "$@"