aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-17 20:41:29 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-17 20:41:29 +0900
commit25297109db64dbdc6b14b6c4d7bd5891c66b5f23 (patch)
treee1ef3a8bcd53a9c3412e766527afacc861c912f1
parent147a718922790df0e76e5fdeaac557ca5b645b55 (diff)
downloadvim-lsp-settings-25297109db64dbdc6b14b6c4d7bd5891c66b5f23.tar.gz
vim-lsp-settings-25297109db64dbdc6b14b6c4d7bd5891c66b5f23.tar.bz2
vim-lsp-settings-25297109db64dbdc6b14b6c4d7bd5891c66b5f23.zip
Add installer for fsharp-language-server
-rw-r--r--installer/install-fsharp-language-server.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/installer/install-fsharp-language-server.sh b/installer/install-fsharp-language-server.sh
new file mode 100644
index 0000000..26be8f9
--- /dev/null
+++ b/installer/install-fsharp-language-server.sh
@@ -0,0 +1,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