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

set -e

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

cat <<EOF > fsharp-language-server
#!/bin/sh

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

chmod +x fsharp-language-server