-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathmix.exs
56 lines (51 loc) · 1.57 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 Coverex.Mixfile do
use Mix.Project
def project do
[app: :coverex,
version: "1.5.1-dev",
elixir: ">= 1.6.0",
package: package(),
name: "Coverex - Coverage Reports for Elixir",
source_url: "https://github.com/alfert/coverex",
homepage_url: "https://github.com/alfert/coverex",
docs: [readme: "README.md", extra: "CHANGELOG.md"],
description: description(),
test_coverage: [tool: Coverex.Task, coveralls: true, ignore_modules: []],
deps: deps()]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[ extra_applications: [:logger, :hackney]]
end
# List all dependencies in the format:
#
# {:foobar, git: "https://github.com/elixir-lang/foobar.git", tag: "0.1"}
#
# Type `mix help deps` for more examples and options
defp deps do
[
{:hackney, "~> 1.5"},
{:poison, "~> 3.0 or ~> 3.1 or ~> 4.0"},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.13", only: :dev},
{:dialyxir, "~> 1.0.0-rc3", only: [:dev, :test], runtime: false},
]
end
# Hex Package description
defp description do
"""
Coverex is an Elixir Coverage tool used by mix. It provides tables with overviews of
module and function coverage data, includings links to annotated source code files and
supports coveralls.io.
"""
end
# Hex Package definition
defp package do
[maintainers: ["Klaus Alfert"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/alfert/coverex"}
]
end
end