Skip to content

Commit

Permalink
relax elixir requirement
Browse files Browse the repository at this point in the history
since we no longer build on 1.11 we don't have to watch out for elixir-lang/elixir#11110
  • Loading branch information
lukaszsamson committed Dec 4, 2022
1 parent 3611e5a commit 8c34886
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/elixir_ls_debugger/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule ElixirLS.Debugger.Mixfile do
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: ">= 1.12.3",
elixir: ">= 1.12.0",
build_embedded: false,
start_permanent: true,
build_per_environment: false,
Expand Down
4 changes: 2 additions & 2 deletions apps/elixir_ls_utils/lib/minimum_version.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule ElixirLS.Utils.MinimumVersion do
end

def check_elixir_version do
if Version.match?(System.version(), ">= 1.12.3") do
if Version.match?(System.version(), ">= 1.12.0") do
otp_release = String.to_integer(System.otp_release())

if Version.match?(System.version(), "< 1.13.0") and otp_release == 24 do
Expand All @@ -23,7 +23,7 @@ defmodule ElixirLS.Utils.MinimumVersion do
end
else
{:error,
"Elixir versions below 1.12.3 are not supported. (Currently running v#{System.version()})"}
"Elixir versions below 1.12.0 are not supported. (Currently running v#{System.version()})"}
end
end
end
2 changes: 1 addition & 1 deletion apps/elixir_ls_utils/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ defmodule ElixirLS.Utils.Mixfile do
deps_path: "../../deps",
elixirc_paths: elixirc_paths(Mix.env()),
lockfile: "../../mix.lock",
elixir: ">= 1.12.3",
elixir: ">= 1.12.0",
build_embedded: false,
start_permanent: false,
build_per_environment: false,
Expand Down
2 changes: 1 addition & 1 deletion apps/language_server/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule ElixirLS.LanguageServer.Mixfile do
[
app: :language_server,
version: "0.12.0",
elixir: ">= 1.12.3",
elixir: ">= 1.12.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule ElixirLS.Mixfile do
start_permanent: Mix.env() == :prod,
build_per_environment: false,
deps: deps(),
elixir: ">= 1.12.3",
elixir: ">= 1.12.0",
dialyzer: [
plt_add_apps: [:dialyxir_vendored, :debugger, :dialyzer, :ex_unit],
flags: [
Expand Down

0 comments on commit 8c34886

Please sign in to comment.