feat(nvim): add elixir-ls compatible with 1.11
This commit is contained in:
parent
6f5f08e59a
commit
a01205c240
14
Dockerfile
14
Dockerfile
@ -176,6 +176,9 @@ RUN ${XDG_DATA_HOME}/rtx/bin/rtx plugins install \
|
|||||||
poetry \
|
poetry \
|
||||||
terraform
|
terraform
|
||||||
|
|
||||||
|
# NOTE (jpd): the section below exists mainly to handle a project running elixir 1.11.
|
||||||
|
# It allows the usage of openssl 1.1 and a compatible elixir-ls.
|
||||||
|
|
||||||
# configure openssl 1.1
|
# configure openssl 1.1
|
||||||
# this is needed to compile older erlang versions
|
# this is needed to compile older erlang versions
|
||||||
# example: KERL_CONFIGURE_OPTIONS="-with-ssl=${HOME}/.local/lib/ssl" asdf install
|
# example: KERL_CONFIGURE_OPTIONS="-with-ssl=${HOME}/.local/lib/ssl" asdf install
|
||||||
@ -188,3 +191,14 @@ RUN mkdir -p ${HOME}/.local/src \
|
|||||||
&& make \
|
&& make \
|
||||||
# && make test \
|
# && make test \
|
||||||
&& make install
|
&& make install
|
||||||
|
|
||||||
|
# fetch elixir-ls compatible with elixir 1.11.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 \
|
||||||
|
&& git checkout tags/v0.12.0 \
|
||||||
|
&& cp .release-tool-versions .tool-versions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user