forked from ZennerIoT/ex_audit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
60 lines (54 loc) · 1.47 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
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.9.0",
elixir: "~> 1.11",
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 <[email protected]>"],
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.0.0"},
{:ecto_sql, ">= 3.0.0"},
{:postgrex, "~> 0.15", only: :test},
{:excoveralls, "~> 0.7", only: :test},
{:ex_doc, ">= 0.0.0", runtime: false, only: :dev},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false}
]
end
end