-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
50 lines (45 loc) · 1.14 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
defmodule Exbee.Mixfile do
use Mix.Project
def project do
[
app: :exbee,
description: "Communicate with XBee wireless radios in Elixir",
version: "0.0.5",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
source_url: "https://github.com/rockwood/exbee",
deps: deps(),
package: package(),
docs: [
main: "readme",
extras: ["README.md"]
],
dialyzer: [
ignore_warnings: ".dialyzer-ignore-warnings",
plt_add_apps: [:mix]
]
]
end
def application do
[applications: [:logger, :nerves_uart]]
end
defp deps do
[
{:nerves_uart, "~> 1.1.0"},
{:ex_doc, "~> 0.14", only: :dev},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false}
]
end
defp package do
[
name: :exbee,
maintainers: ["Kevin Rockwood"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/rockwood/exbee"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end