-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
74 lines (67 loc) · 1.51 KB
/
mix.exs
File metadata and controls
74 lines (67 loc) · 1.51 KB
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
71
72
73
74
defmodule Beat.MixProject do
use Mix.Project
def project do
[
app: :beat,
version: "0.1.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Beat",
description: "TODO: write a proper description",
docs: docs(),
package: package(),
aliases: aliases(),
dialyzer: dialyzer()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Beat.Application, []}
]
end
def docs do
[
main: "readme",
extras: ["README.md"]
]
end
def package do
[
name: :beat,
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/TODO/beat"}
]
end
def aliases do
[
check: [
"hex.audit",
"compile --warnings-as-errors --force",
"format --check-formatted",
"credo",
"deps.unlock --check-unused",
"dialyzer"
]
]
end
def dialyzer do
[
plt_add_apps: [:mix],
ignore_warnings: ".dialyzer_ignore.exs"
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:alarmist, "~> 0.4"},
{:nstandard, "~> 0.1", only: [:dev, :test]},
{:igniter, "~> 0.6", only: [:dev, :test]},
{:ex_doc, "~> 0.31", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
end