spiegel-keyman/resources/devbox/macos/keyman.macos.env.sh
Marc Durdin d9e99d3040 chore(mac): update build env for monterey
Python2.7 is excluded from macOS Monterey, and is not available directly
via brew any longer. We still need it for now. pyenv does the job...
2022-03-22 13:50:34 +11:00

22 lines
775 B
Bash

source $HOME/.cargo/env
#echo 'export PATH="/usr/local/opt/openjdk@8/bin:$PATH"' >> ~/.zshrc
#echo 'export PATH="/usr/local/opt/openjdk@8/bin:$PATH"' >> ~/.bashrc
export ANT_HOME=/usr/local/opt/ant
export MAVEN_HOME=/usr/local/opt/maven
export GRADLE_HOME=/usr/local/opt/gradle
export ANDROID_HOME=~/.android
export ANDROID_SDK_ROOT="$HOME/Library/Android/sdk"
export PATH=$ANT_HOME/bin:$PATH
export PATH=$MAVEN_HOME/bin:$PATH
export PATH=$GRADLE_HOME/bin:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
export PATH=$ANDROID_HOME/tools/bin:$PATH
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/build-tools/30.0.3:$PATH
export PATH="/usr/local/opt/openjdk@8/bin:$PATH"
export JAVA_HOME=/usr/local/opt/openjdk@8
# Python 2.7
eval "$(pyenv init --path)"