forked from kafkaex/kafka_ex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
58 lines (53 loc) · 1.29 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
defmodule KafkaEx.Mixfile do
use Mix.Project
def project do
[
app: :kafka_ex,
version: "0.8.2",
elixir: "~> 1.1",
dialyzer: [
plt_add_deps: :transitive,
flags: [
:error_handling,
:race_conditions
]
],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test],
description: description(),
package: package(),
deps: deps(),
docs: [
main: "readme",
extras: ["README.md"],
source_url: "https://github.com/kafkaex/kafka_ex"
]
]
end
def application do
[
mod: {KafkaEx, []},
applications: [:logger, :ssl]
]
end
defp deps do
[
{:credo, "~> 0.8.10", only: :dev},
{:dialyxir, "~> 0.5.1", only: :dev},
{:excoveralls, "~> 0.7", only: :test},
{:ex_doc, "~> 0.18", only: :dev},
{:snappy,
git: "https://github.com/fdmanana/snappy-erlang-nif",
only: [:dev, :test]}
]
end
defp description do
"Kafka client for Elixir/Erlang."
end
defp package do
[maintainers: ["Abejide Ayodele", "Dan Swain", "Jack Lund"],
files: ["lib", "config/config.exs", "mix.exs", "README.md"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/kafkaex/kafka_ex"}]
end
end