diff options
author | mattn <mattn.jp@gmail.com> | 2020-01-31 00:31:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 00:31:03 +0900 |
commit | 382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0 (patch) | |
tree | 75925f379568738b008c0792bbfa195a89e97a55 /installer/install-fsautocomplete.sh | |
parent | ead5f7718dca26776ab03fccad15df31544ad74a (diff) | |
parent | 6e6f2a345deb694e91bfda53885573370eb11e91 (diff) | |
download | vim-lsp-settings-382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0.tar.gz vim-lsp-settings-382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0.tar.bz2 vim-lsp-settings-382223bca5cc2ca87f8af1b7cdee3f65b8ad8fe0.zip |
Merge pull request #136 from johejo/fix/shellcheck_shfmt
shellcheck, shfmt
Diffstat (limited to 'installer/install-fsautocomplete.sh')
-rwxr-xr-x | installer/install-fsautocomplete.sh | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/installer/install-fsautocomplete.sh b/installer/install-fsautocomplete.sh index e19d2e8..43827a4 100755 --- a/installer/install-fsautocomplete.sh +++ b/installer/install-fsautocomplete.sh @@ -3,19 +3,20 @@ set -e if command -v dotnet >/dev/null 2>&1; then - echo "dotnet installed" - dotnetcmd=dotnet + echo "dotnet installed" + dotnetcmd=dotnet else - echo "dotnet not found, installing..." - # REF https://github.com/neovim/nvim-lsp/blob/master/lua/nvim_lsp/pyls_ms.lua - curl -L https://dot.net/v1/dotnet-install.sh | bash -s -- -i "./.dotnet" - dotnetcmd="\\$DIR/.dotnet/dotnet" + echo "dotnet not found, installing..." + # REF https://github.com/neovim/nvim-lsp/blob/master/lua/nvim_lsp/pyls_ms.lua + curl -L https://dot.net/v1/dotnet-install.sh | bash -s -- -i "./.dotnet" + dotnetcmd="\\$DIR/.dotnet/dotnet" fi url="https://ci.appveyor.com/api/projects/fsautocomplete/fsautocomplete/artifacts/bin/pkgs/fsautocomplete.netcore.zip?branch=master" zip=fsautocomplete.zip curl -L "$url" -o "$zip" -unzip -o -d "fsautocomplete.netcore" "$zip" +unzip -o -d "fsautocomplete.netcore" "$zip" +rm "$zip" cat <<EOF >fsautocomplete #!/bin/sh |