-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
45 lines (40 loc) · 1.04 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
defmodule RotaryEncodex.MixProject do
use Mix.Project
def project do
[
app: :rotaryencodex,
version: "0.1.0",
elixir: "~> 1.9",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "RotaryEncodex",
source_url: "https://github.com/samuelmullin/rotaryencodex"
]
end
def application do
[
mod: {RotaryEncodex.Application, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:circuits_gpio, "~> 0.4.3"},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp description() do
"A simple package to collect input from a rotary encoder from a Raspberry Pi or similar device."
end
defp package() do
[
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/samuelmullin/rotaryencodex"}
]
end
end