forked from OmniSharp/omnisharp-roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·22 lines (18 loc) · 725 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# Handle to many files on osx
if [ "$TRAVIS_OS_NAME" == "osx" ] || [ `uname` == "Darwin" ]; then
ulimit -n 4096
fi
if [ "$TRAVIS_OS_NAME" == "osx" ] || [ `uname` == "Darwin" ]; then
export OMNISHARP_PACKAGE_OSNAME=osx-x64
else
export OMNISHARP_PACKAGE_OSNAME=linux-x64
fi
export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.5
dotnet restore OmniSharp.sln
# dotnet build OmniSharp.sln
dotnet build src/OmniSharp.Stdio/OmniSharp.Stdio.csproj
dotnet build src/OmniSharp.Stdio/OmniSharp.Stdio.csproj -o $PWD/bin
# bash ./scripts/cake-bootstrap.sh "$@"
# cd src/OmniSharp.DotNet.ProjectModel/
# dotnet add OmniSharp.DotNet.ProjectModel.csproj package System.Runtime