mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
676 B
11 lines
676 B
OS=$(uname -s) |
|
if [ "$OS" == "Darwin" ]; then |
|
wget -O mono.pkg https://download.mono-project.com/archive/5.18.0/macos-10-universal/MonoFramework-MDK-5.18.0.240.macos10.xamarin.universal.pkg |
|
sudo installer -pkg mono.pkg -target / |
|
export PATH=$PATH:/Library/Frameworks/Mono.framework/Versions/Current/bin |
|
elif [ "$OS" == "Linux" ]; then |
|
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF |
|
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list |
|
sudo apt-get update -qq |
|
sudo apt-get install -y --force-yes mono-mcs libmono-system-runtime4.0-cil |
|
fi |