-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
52 lines (48 loc) · 1.1 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
defmodule Nerves.System.BR.Mixfile do
use Mix.Project
@version Path.join(__DIR__, "VERSION")
|> File.read!()
|> String.trim()
def project do
[
app: :nerves_system_br,
version: @version,
elixir: "~> 1.2",
description: description(),
package: package(),
compilers: [:app],
nerves_package: [type: :system_platform]
]
end
defp description do
"""
Nerves System BR - Buildroot based build platform for Nerves Systems
"""
end
defp package do
[
files: [
"CHANGELOG.md",
"board",
"package",
"patches",
"scripts",
"Config.in",
"create-build.sh",
"external.mk",
"external.desc",
"LICENSE",
"mix.exs",
"nerves_env.exs",
"nerves-env.sh",
"nerves-env.cmake",
"nerves.mk",
"README.md",
"VERSION"
],
name: :redwire_nerves_system_br,
licenses: ["Apache-2.0", "GPL-2.0-or-later"],
links: %{"Github" => "https://github.com/redwirelabs/redwire_nerves_system_br"}
]
end
end