-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmix.exs
61 lines (55 loc) · 1.09 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
defmodule Sniff.Mixfile do
use Mix.Project
def project do
[
app: :sniff,
version: "0.1.8",
elixir: "~> 1.3",
make_clean: ["clean"],
compilers: [:elixir_make | Mix.compilers()],
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
aliases: aliases(),
description: description(),
package: package(),
deps: deps()
]
end
def application do
[applications: []]
end
defp deps do
[
{:elixir_make, "~> 0.4", runtime: false},
{:ex_doc, "~> 0.28", only: :dev}
]
end
defp description do
"Elixir Serial Port NIF"
end
defp package do
[
name: :sniff,
files: [
"priv/.gitignore",
"lib",
"src",
"test",
"mix.*",
"Makefile.*",
"*.exs",
"*.sh",
"*.bat",
"*.md",
".gitignore",
"LICENSE"
],
maintainers: ["Samuel Ventura"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/samuelventura/sniff/"}
]
end
defp aliases do
[]
end
end