This repository has been archived by the owner on May 23, 2019. It is now read-only.
forked from jjh42/mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
65 lines (59 loc) · 1.59 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.1"
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.8.8"},
{:docs_ghpages, github: "jjh42/docs_ghpages", only: :dev},
{:markdown, github: "devinus/markdown", only: :dev},
{:excoveralls, "~> 0.7.2", only: :test}
]
end
defp description do
"""
A mocking libary 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 ([email protected])",
"Jonathan J Hunt ([email protected])"
],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/jjh42/mock",
"Docs" => "https://jjh42.github.io/mock"
}
]
end
end