Files
vim-lsp-settings-mirror/installer/install-veryl-ls.sh
2024-02-28 19:35:46 +09:00

24 lines
380 B
Bash
Executable File

#!/bin/sh
set -e
os=$(uname -s | tr "[:upper:]" "[:lower:]")
case $os in
linux)
os="linux"
;;
darwin)
os="mac"
;;
*)
printf "%s doesn't supported by bash installer" "$os"
exit 1
;;
esac
curl -L -o veryl-x86_64-$os.zip "https://github.com/veryl-lang/veryl/releases/latest/download/veryl-x86_64-$os.zip"
unzip veryl-x86_64-$os.zip
rm veryl
rm veryl-x86_64-$os.zip