-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
67 lines (59 loc) · 1.39 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
61
62
63
64
65
66
67
defmodule BrightPi.MixProject do
use Mix.Project
@version "1.0.0"
def project do
[
app: :bright_pi,
version: @version,
name: "BrightPi",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
docs: docs(),
package: package(),
source_url: "https://github.com/PhillippOhlandt/bright_pi",
homepage_url: "https://github.com/PhillippOhlandt/bright_pi"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp description do
"""
BrightPi is a library to talk to the "Pi Supply Bright Pi" board
featuring 4 white LEDs and 4 pairs of two infrared LEDs.
"""
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:circuits_i2c, "~> 0.3.8 or ~> 1.0"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false},
{:telemetry, "~> 1.0"}
]
end
defp package do
%{
maintainers: ["Phillipp Ohlandt"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/PhillippOhlandt/bright_pi"}
}
end
defp docs do
[
main: "BrightPi",
source_ref: @version,
source_url: "https://github.com/PhillippOhlandt/bright_pi",
extras: extras()
]
end
defp extras do
[
"CHANGELOG.md"
]
end
end