-
Notifications
You must be signed in to change notification settings - Fork 10
/
mix.exs
70 lines (63 loc) · 1.56 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
68
69
70
defmodule Honey.MixProject do
use Mix.Project
@source_url "https://github.com/lac-dcc/honey-potion"
@version "0.1.0"
def project do
[
app: :honey,
name: "Honey Potion",
version: @version,
elixir: "~> 1.12",
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
docs: docs(),
aliases: aliases()
]
end
def package do
[
description: "Writing eBPF with Elixir!",
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Compilers Laboratory - Federal University of Minas Gerais (UFMG), Brazil"],
licenses: ["GPL-3.0-only"],
links: %{
"GitHub" => @source_url,
"Changelog" => "https://hexdocs.pm/honey/changelog.html"
}
]
end
defp aliases do
[
# The CompileBPF.run function currently has no use. It has been left as a reference of
# where code can be added for it to be executed before the compilation step of Elixir.
compile: ["compile", &CompileBPF.run/1]
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp docs do
[
extras: [
"CHANGELOG.md": [title: "Changelog"],
"LICENSE.md": [title: "License"],
"README.md": [title: "Overview"],
],
main: "readme",
homepage_url: @source_url,
source_url: @source_url,
source_ref: @version,
logo: "assets/honey.png",
assets: "assets",
formatters: ["html"]
]
end
def application do
[
extra_applications: [:logger]
]
end
end