aboutsummaryrefslogtreecommitdiff
path: root/installer/install-fsharp-language-server.sh
blob: b3d83b9e9c2f09aca3b97324a2a1e8e4e64b4b87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

set -e

git clone https://github.com/fsprojects/fsharp-language-server .
npm install
dotnet build -c Release

cat <<EOF >fsharp-language-server
#!/usr/bin/env bash

DIR=\$(cd \$(dirname \$0); pwd)
\$DIR/src/FSharpLanguageServer/bin/Release/netcoreapp2.0/FSharpLanguageServer.dll \$*
EOF

chmod +x fsharp-language-server