mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-30 02:17:07 +00:00
25 lines
437 B
Bash
25 lines
437 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [[ "$(uname -s)" == 'Darwin' ]]; then
|
|
brew update || brew update
|
|
brew outdated pyenv || brew upgrade pyenv
|
|
brew install pyenv-virtualenv
|
|
brew install cmake || true
|
|
|
|
if which pyenv > /dev/null; then
|
|
eval "$(pyenv init -)"
|
|
fi
|
|
|
|
pyenv install 2.7.10
|
|
pyenv virtualenv 2.7.10 conan
|
|
pyenv rehash
|
|
pyenv activate conan
|
|
|
|
fi
|
|
|
|
pip install conan_package_tools
|
|
conan user
|