]> granicus.if.org Git - ejabberd/commitdiff
Revert "Upgrade Elixir to 1.6.6 (#2653)"
authorChristophe Romain <christophe.romain@process-one.net>
Tue, 27 Nov 2018 10:01:52 +0000 (11:01 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Tue, 27 Nov 2018 10:01:52 +0000 (11:01 +0100)
This reverts commit d3a9fbf62f1e505371a55629485d6c64e973733c.
rebar2 (which is still used) is not able to cope with this change
it should check lib/elixir/src/elixir.app.src instead of src/elixir.app.src
as src/elixir.app.src moved away, currently check fails and this breaks
jenkins tests.

options: use rebar3, or drop rebar completely to rely only on mix.

mix.exs
rebar.config

diff --git a/mix.exs b/mix.exs
index 8f13482f05a9ef65aa31ccc8e02f69a547135829..2e136884d82596ca549c186d158be31788e9add3 100644 (file)
--- a/mix.exs
+++ b/mix.exs
@@ -5,7 +5,7 @@ defmodule Ejabberd.Mixfile do
     [app: :ejabberd,
      version: "18.9.0",
      description: description(),
-     elixir: "~> 1.6",
+     elixir: "~> 1.4",
      elixirc_paths: ["lib"],
      compile_path: ".",
      compilers: [:asn1] ++ Mix.compilers,
index 564018b86d9be8b44b1246cb0fa6c1705bd9dab0..a87ec0054abdd5702fc63ecd6e414c5625af510a 100644 (file)
@@ -47,7 +47,7 @@
                                            {tag, {if_version_above, "19", "develop", "2.5.3"}}}}},
         %% Elixir support, needed to run tests
         {if_var_true, elixir, {elixir, ".*", {git, "https://github.com/elixir-lang/elixir",
-                                              {tag, "v1.6.6"}}}},
+                                              {tag, {if_version_above, "17", "v1.4.4", "v1.1.1"}}}}},
         %% TODO: When modules are fully migrated to new structure and mix, we will not need anymore rebar_elixir_plugin
         {if_not_rebar3, {if_var_true, elixir, {rebar_elixir_plugin, ".*",
                                                {git, "https://github.com/processone/rebar_elixir_plugin", "0.1.0"}}}},