-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
46 lines (40 loc) · 983 Bytes
/
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
defmodule Exml.Mixfile do
use Mix.Project
@description "Most simple Elixir wrapper for xmerl xpath"
def project do
[
app: :exml,
version: "0.1.3",
elixir: "~> 1.0",
description: @description,
package: package(),
deps: deps(),
dialyzer: dialyzer(),
test_coverage: [summary: [threshold: 75]]
]
end
def application do
[applications: [:logger, :xmerl]]
end
defp deps do
[
{:ex_doc, "~> 0.27", only: :dev, runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.3", only: [:dev], runtime: false}
]
end
defp package do
[
files: ["lib", "mix.exs", "README*"],
licenses: ["Apache 2.0"],
maintainers: ["expelledboy"],
links: %{"GitHub" => "https://github.com/expelledboy/exml"}
]
end
defp dialyzer do
[
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
end
end