-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
56 lines (49 loc) · 1.25 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
defmodule Mockingbird.Mixfile do
use Mix.Project
@version "0.2.0"
@url "https://github.com/Driftrock/mockingbird"
@maintainers [
"Alessandro Mencarini",
"Lukáš Doležal",
"Dan Watts"
]
def project do
[
name: "Mockingbird",
app: :mockingbird,
version: @version,
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:httpoison, "~> 1.0"},
# Dev and test deps
{:mock, "~> 0.3.1", only: :test},
{:credo, "~> 0.9", only: [:dev, :test]},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ex_doc, "~> 0.18", only: :dev, runtime: false},
{:inch_ex, ">= 0.0.0", only: :docs}
]
end
defp description do
"Mockingbird helps you create API consumers that are easy to test."
end
defp package do
[
name: :mockingbird,
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: @maintainers,
licenses: ["Apache 2.0"],
links: %{"GitHub" => @url, "Docs" => "https://hexdocs.pm/mockingbird/"}
]
end
end