#!/bin/bash set -e cd $(dirname $0) [ -d ../servers/omnisharp-lsp ] && rm -rf ../servers/omnisharp-lsp mkdir ../servers/omnisharp-lsp cd ../servers/omnisharp-lsp curl -L -o omnisharp-linux-x64.zip https://github.com/OmniSharp/omnisharp-roslyn/releases/download/v1.34.9/omnisharp-linux-x64.zip unzip omnisharp-linux-x64.zip rm omnisharp-linux-x64.zip chmod +x run cat < omnisharp-lsp #!/bin/sh DIR=\$(cd \$(dirname \$0); pwd) \$DIR/run \$* EOF chmod +x omnisharp-lsp