forked from ZennerIoT/ex_audit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
59 lines (53 loc) · 1.41 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
defmodule ExAudit.Mixfile do
use Mix.Project
def project do
[
description: "Ecto auditing library that transparently tracks changes and can revert them",
app: :ex_audit,
version: "0.7.0",
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: paths(Mix.env()),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test],
source_url: "https://github.com/zenneriot/ex_audit",
package: [
licenses: ["MIT"],
maintainers: ["Moritz Schmale <ms@zenner-iot.com>"],
links: %{
"GitHub" => "https://github.com/zenneriot/ex_audit",
"Documentation" => "https://hexdocs.pm/ex_audit"
}
],
docs: [
main: "ExAudit",
extras: ["README.md"]
]
]
end
def paths(:test) do
paths(:default) ++ ["./example"]
end
def paths(:default) do
["./lib"]
end
def paths(_), do: paths(:default)
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {ExAudit, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ecto, "~> 3.2.0"},
{:ecto_sql, "~> 3.2.0"},
{:postgrex, "~> 0.15.0", only: :test},
{:excoveralls, "~> 0.7", only: :test},
{:ex_doc, "~> 0.21", runtime: false, only: :dev}
]
end
end