From 7acb14c3bc9ae10181ef03e86f704ff4e5a06051 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Sat, 28 Dec 2019 23:48:14 +0900 Subject: Add elixir-ls --- installer/install-elixir-ls.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 installer/install-elixir-ls.sh (limited to 'installer/install-elixir-ls.sh') diff --git a/installer/install-elixir-ls.sh b/installer/install-elixir-ls.sh new file mode 100644 index 0000000..b1497b6 --- /dev/null +++ b/installer/install-elixir-ls.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +set -e + +cd $(dirname $0) + +server_dir="../servers/elixir-ls" +[ -d $server_dir ] && rm -rf $server_dir +mkdir $server_dir && cd $server_dir + +version="v0.2.25" +url="https://github.com/JakeBecker/elixir-ls/releases/download/$version/elixir-ls.zip" +curl -LO "$url" +unzip elixir-ls.zip +rm elixir-ls.zip + +cat < elixir-ls +#!/bin/sh + +DIR=\$(cd \$(dirname \$0); pwd) +\$DIR/language_server.sh \$* +EOF + +chmod +x elixir-ls -- cgit v1.2.3-54-g00ecf