-
Notifications
You must be signed in to change notification settings - Fork 28
/
mix.exs
59 lines (49 loc) · 1.33 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Code.ensure_loaded?(Hex) and Hex.start
defmodule Amrita.Mixfile do
use Mix.Project
def project do
[app: :amrita,
version: version,
name: "Amrita",
description: "A polite, well mannered and thoroughly upstanding testing framework for Elixir",
source_url: "https://github.com/josephwilk/amrita",
elixir: "~> 1.0.0",
homepage_url: "http://amrita.io",
package: [links: %{"Website" => "http://amrita.io", "Source" => "http://github.com/josephwilk/amrita"},
contributors: ["Joseph Wilk"],
licenses: ["MIT"]],
deps: deps(Mix.env)]
end
def version do
String.strip(File.read!("VERSION"))
end
def application do
[registered: [ExUnit.Server],
mod: {Amrita, []},
env: [
# Calculated on demand
# max_cases: :erlang.system_info(:schedulers_online),
# seed: rand(),
autorun: true,
colors: [],
trace: false,
formatters: [Amrita.Formatter.Documentation],
include: [],
exclude: []]]
end
defp deps(:dev) do
base_deps
end
defp deps(:test) do
base_deps ++ dev_deps
end
defp deps(_) do
base_deps
end
defp base_deps do
[{:meck, [branch: "master" ,github: "eproxus/meck"]}]
end
defp dev_deps do
[{:ex_doc, github: "elixir-lang/ex_doc"}]
end
end