-
Notifications
You must be signed in to change notification settings - Fork 31
/
mix.exs
66 lines (60 loc) · 1.6 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
defmodule Extreme.Mixfile do
use Mix.Project
def project do
[
app: :extreme,
version: "1.1.0-rc8",
elixir: "~> 1.11",
elixirc_paths: _elixirc_paths(Mix.env()),
source_url: "https://github.com/exponentially/extreme",
description: """
Elixir TCP client for EventStore.
""",
package: _package(),
start_permanent: Mix.env() == :prod,
test_coverage: [
summary: [
threshold: 83
]
],
preferred_cli_env: [
vcr: :test,
"vcr.delete": :test,
"vcr.check": :test,
"vcr.show": :test
],
deps: _deps()
]
end
def application do
[
extra_applications: [:logger, :inets]
]
end
# Specifies which paths to compile per environment.
defp _elixirc_paths(:test), do: ["lib", "test/support"]
defp _elixirc_paths(_), do: ["lib"]
defp _deps do
[
{:exprotobuf, "~> 1.2.9"},
{:elixir_uuid, "~> 1.2"},
{:telemetry, "~> 0.4 or ~> 1.0"},
# needed when connecting to EventStore cluster (node_type: :cluster | :cluster_dns)
{:jason, "~> 1.1", optional: true},
# testing
{:exvcr, "~> 0.10", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
# {:earmark, "~> 1.2", only: :test},
# {:inch_ex, "~> 1.0", only: :test},
# {:excoveralls, "~> 0.9", only: :test},
]
end
defp _package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*", "include"],
maintainers: ["Milan Burmaja"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/exponentially/extreme"}
]
end
end