-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
70 lines (63 loc) · 1.49 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
66
67
68
69
70
defmodule BencheeMarkdown.MixProject do
use Mix.Project
@source_url "https://github.com/hrzndhrn/benchee_markdown"
@version "0.3.3"
def project do
[
app: :benchee_markdown,
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: "Markdown formatter for the (micro) benchmarking library benchee.",
docs: docs(),
dialyzer: [
plt_add_apps: [:eex]
],
# Coveralls
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.github": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger, :eex]
]
end
defp deps do
[
{:benchee, ">= 1.1.0 and < 2.0.0"},
{:credo, "~> 1.0", only: [:dev, :test]},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
{:ex_doc, "~> 0.14", only: :dev},
{:excoveralls, "~> 0.10", only: :test}
]
end
defp package do
[
files: ["priv", "lib", "mix.exs", "README.md"],
maintainers: ["Marcus Kruse"],
licenses: ["MIT"],
links: %{
"Changelog" => "#{@source_url}/blob/master/CHANGELOG.md",
"GitHub" => @source_url
}
]
end
defp docs do
[
main: "readme",
source_ref: "v#{@version}",
source_url: @source_url,
extras: [
"README.md"
]
]
end
end