Created
February 22, 2016 14:33
-
-
Save cr0sh/40f4da1244aa4756fdb0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 이 쉘 스크립트는 리눅스에서 MiNET을 쉽게 설치해줍니다 | |
echo 쉘 스크립트 제작자: 푸른곡괭이, MiNET 제작자: NiclasOlofsson님 | |
echo 정말 간단하게 만들어진 쉘 스크립트입니다 정말로 하루만에 만들었습니다 | |
echo $(date) 설치를 시작합니다... | |
echo Git가 설치되어있나요? \(네/아니요\) | |
read gitanswer | |
if [ $gitanswer -eq 네 ] | |
then | |
echo Git 설치를 건너뜁니다 | |
elif [ $gitanswer -eq 아니요] | |
then | |
echo Git 설치를 시작합니다 | |
sudo apt-get install git | |
else | |
echo 네 아니요 중 하나를 입력해주십시오 | |
fi | |
git clone https://github.com/NiclasOlofsson/MiNET.git | |
cd MiNET | |
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 | |
sudo apt-get install mono-complete nuget | |
mozroots --import --sync | |
nuget restore src/MiNET/MiNET.sln | |
xbuild /p:TargetFrameworkVersion="v4.5" src/MiNET/MiNET.sln | |
cd src/MiNET/MiNET.Service/bin/Debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment