diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-31 22:40:02 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-31 22:40:02 +0900 |
commit | deee3e6970cea618d1ee7f3a97008d0e09b9d02d (patch) | |
tree | 614b3c74adf622ee76b65a2f10a3416260254986 /installer | |
parent | a9df331431592bee084c95de918a031984d9a899 (diff) | |
download | vim-lsp-settings-deee3e6970cea618d1ee7f3a97008d0e09b9d02d.tar.gz vim-lsp-settings-deee3e6970cea618d1ee7f3a97008d0e09b9d02d.tar.bz2 vim-lsp-settings-deee3e6970cea618d1ee7f3a97008d0e09b9d02d.zip |
Add svls
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-svls.cmd | 10 | ||||
-rwxr-xr-x | installer/install-svls.sh | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/installer/install-svls.cmd b/installer/install-svls.cmd new file mode 100644 index 0000000..44c19b3 --- /dev/null +++ b/installer/install-svls.cmd @@ -0,0 +1,10 @@ +@echo off
+
+setlocal
+
+set version=v0.1.12
+curl -L -o svls-%version%-x86_64-win.zip "https://github.com/dalance/svls/releases/download/v0.1.12/svls-%version%-x86_64-win.zip"
+call "%~dp0\run_unzip.cmd" svls-%version%-x86_64-win.zip
+move target\x86_64-pc-windows-msvc\release\svls.exe .
+rd /Q /S target
+del svls-%version%-x86_64-win.zip
diff --git a/installer/install-svls.sh b/installer/install-svls.sh new file mode 100755 index 0000000..a0f2675 --- /dev/null +++ b/installer/install-svls.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash + +set -e + +os=$(uname -s | tr "[:upper:]" "[:lower:]") + +case $os in +linux) + os="lnx" + ;; +darwin) + os="mac" + ;; +*) + printf "%s doesn't supported by bash installer" "$os" + exit 1 + ;; +esac + +version="v0.1.12" +curl -L -o svls-$version-x86_64-$os.zip "https://github.com/dalance/svls/releases/download/v0.1.12/svls-$version-x86_64-$os.zip" +unzip svls-$version-x86_64-$os.zip +rm svls-$version-x86_64-$os.zip |