-
Notifications
You must be signed in to change notification settings - Fork 81
/
mix.exs
65 lines (59 loc) · 1.58 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
60
61
62
63
64
65
defmodule Mock.Mixfile do
use Mix.Project
@version "0.3.8"
def project do
[ app: :mock,
name: "Mock",
version: @version,
elixir: "~> 1.0",
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
docs: [source_ref: "v#{@version}", main: "Mock"],
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test],
deps: deps() ]
end
defp deps do
[
{:meck, "~> 0.9.2"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:markdown, github: "devinus/markdown", only: :dev},
{:excoveralls, "~> 0.7.2", only: :test}
]
end
defp description do
"""
A mocking library for the Elixir language.
We use the Erlang meck library to provide module mocking
functionality for Elixir. It uses macros in Elixir to expose
the functionality in a convenient manner for integrating in
Elixir tests.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
contributors: [
"Daniel Olshansky",
"Dave Thomas",
"Jonathan J Hunt",
"Joseph Wilk",
"Josh Adams",
"Jérémy",
"matt.freer",
"Mikhail S. Pobolovets",
"parroty",
"xieyunzi",
],
maintainers: [
"Daniel Olshansky (olshansky.daniel@gmail.com)",
"Jonathan J Hunt (j@me.net.nz)"
],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/jjh42/mock",
"Docs" => "https://jjh42.github.io/mock"
}
]
end
end