-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmix.exs
45 lines (41 loc) · 1003 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
defmodule NervesDHT.Mixfile do
use Mix.Project
def project do
[
app: :nerves_dht,
version: "1.2.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
preferred_cli_env: [
coveralls: :test,
"coveralls.github": :test
],
compilers: [:elixir_make] ++ Mix.compilers(),
test_coverage: [tool: ExCoveralls],
deps: deps(),
docs: docs()
]
end
def application do
if Mix.env() == :test do
[extra_applications: [:logger]]
else
[]
end
end
defp deps do
[
{:nerves_sad, git: "https://github.com/visciang/nerves_sad.git", tag: "1.1.1"},
{:elixir_make, "~> 0.4", runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.13", only: :test},
{:ex_doc, "~> 0.18", only: :dev, runtime: false}
]
end
defp docs do
[
source_url: "https://github.com/visciang/nerves_dht",
extras: ["README.md"]
]
end
end