Add elixir lsp for version 1.12 #19

Merged
joao.dubas merged 3 commits from jpd-add-elixir-ls-for-1.12 into main 2023-12-08 11:53:15 +00:00
Showing only changes of commit 23c280dc2f - Show all commits

View File

@ -192,13 +192,17 @@ RUN mkdir -p ${HOME}/.local/src \
# && make test \
&& make install
# fetch elixir-ls compatible with elixir 1.11.x
# fetch elixir-ls compatible with elixir 1.11.x and 1.12.x
# to setup this project run the following commands:
# mix do local.rebar --force, local.hex --force
# mix do deps.get, deps.compile
# MIX_ENV=prod mix compile
# MIX_ENV=prod mix elixir_ls.release
RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls \
&& cd ${LOCAL_SRC_HOME}/elixir-ls \
RUN git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls/v0.12.0 \
&& cd ${LOCAL_SRC_HOME}/elixir-ls/v0.12.0 \
&& git checkout tags/v0.12.0 \
&& cp .release-tool-versions .tool-versions \
&& git clone https://github.com/elixir-lsp/elixir-ls.git ${LOCAL_SRC_HOME}/elixir-ls/v0.14.6 \
&& cd ${LOCAL_SRC_HOME}/elixir-ls/v0.14.6 \
&& git checkout tags/v0.14.6 \
&& cp .release-tool-versions .tool-versions