-
Notifications
You must be signed in to change notification settings - Fork 5
/
mix.exs
50 lines (46 loc) · 1.05 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
defmodule MQTT.Mixfile do
use Mix.Project
def project do
[
app: :mqtt,
name: "MQTT",
version: "0.3.3",
elixir: "~> 1.6",
package: package(),
description: "Erlang/Elixir low level MQTT protocol implementation",
source_url: "https://github.com/kopera/erlang-mqtt",
deps: deps()
]
end
def application do
[
mod: {:mqtt_app, []},
registered: [:mqtt_sup, :mqtt_client_sup],
]
end
defp package() do
[
maintainers: ["Ali Sabil"],
files: [
"include",
"lib",
"LICENSE*",
"mix.exs",
"README*",
"rebar.config",
"rebar.lock",
"src"
],
build_tools: ["mix", "rebar3"],
licenses: ["Apache 2.0"],
links: %{"Github" => "https://github.com/kopera/erlang-mqtt"}
]
end
defp deps do
[
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.7", only: [:dev, :test], runtime: false},
{:credo, "~> 1.1.5", only: [:dev, :test], runtime: false}
]
end
end