-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
62 lines (56 loc) · 1.23 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
defmodule Arb.MixProject do
use Mix.Project
@source_url "/~https://github.com/adriankumpf/arb-ex"
@version "0.14.1"
def project do
[
app: :arb,
version: @version,
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
compilers: Mix.compilers(),
deps: deps(),
description: description(),
package: package(),
docs: docs(),
source_url: "/~https://github.com/adriankumpf/arb-ex"
]
end
defp deps do
[
{:rustler, "~> 0.35.0"},
{:nimble_options, "~> 1.0"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp description do
"""
An Elixir NIF for controlling the ABACOM CH341A relay board.
"""
end
defp package do
[
files: [
"lib",
"priv",
"native/arb/.cargo/config.toml",
"native/arb/Cargo*",
"native/arb/src",
"mix.exs",
"README*",
"LICENSE*"
],
maintainers: ["Adrian Kumpf"],
licenses: ["MIT"],
links: %{"GitHub" => "/~https://github.com/adriankumpf/arb-ex"}
]
end
defp docs do
[
main: "readme",
source_url: @source_url,
source_ref: "v#{@version}",
extras: ["README.md", "LICENSE"]
]
end
end