aboutsummaryrefslogtreecommitdiff
path: root/mix.exs
diff options
context:
space:
mode:
authorMickael Remond <mremond@process-one.net>2016-07-26 12:17:37 +0200
committerMickael Remond <mremond@process-one.net>2016-07-26 12:17:37 +0200
commit2a8005e47fdb7dbeff27dde41550221823bdb75d (patch)
tree3305d8cd8649857bb100469f285a1b4a8104c0a5 /mix.exs
parentClarify command module API (diff)
Add ability to run test with Elixir mix
Diffstat (limited to 'mix.exs')
-rw-r--r--mix.exs6
1 files changed, 5 insertions, 1 deletions
diff --git a/mix.exs b/mix.exs
index 03ce64da2..7453ea473 100644
--- a/mix.exs
+++ b/mix.exs
@@ -11,6 +11,8 @@ defmodule Ejabberd.Mixfile do
compilers: [:asn1] ++ Mix.compilers,
erlc_options: erlc_options,
erlc_paths: ["asn1", "src"],
+ # Elixir tests are starting the part of ejabberd they need
+ aliases: [test: "test --no-start"],
package: package,
deps: deps]
end
@@ -59,7 +61,9 @@ defmodule Ejabberd.Mixfile do
{:exrm, "~> 1.0.0", only: :dev},
# relx is used by exrm. Lock version as for now, ejabberd doesn not compile fine with
# version 3.20:
- {:relx, "~> 3.19.0", only: :dev}]
+ {:relx, "~> 3.19.0", only: :dev},
+ {:meck, "~> 0.8.4", only: :test},
+ {:moka, github: "processone/moka", tag: "1.0.5b", only: :test}]
end
defp package do