diff options
author | Mickael Remond <mremond@process-one.net> | 2016-07-26 12:17:37 +0200 |
---|---|---|
committer | Mickael Remond <mremond@process-one.net> | 2016-07-26 12:17:37 +0200 |
commit | 2a8005e47fdb7dbeff27dde41550221823bdb75d (patch) | |
tree | 3305d8cd8649857bb100469f285a1b4a8104c0a5 /mix.exs | |
parent | Clarify command module API (diff) |
Add ability to run test with Elixir mix
Diffstat (limited to '')
-rw-r--r-- | mix.exs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |