forked from lac-dcc/honey-potion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
68 lines (61 loc) · 1.38 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
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
[
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