-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
93 lines (86 loc) · 2.25 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
defmodule ExVertx.MixProject do
use Mix.Project
@version "1.0.0"
def project do
[
app: :ex_vertx,
elixir: "~> 1.8",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
dialyzer: [
plt_add_deps: :transitive,
plt_apps: [:erts, :kernel, :stdlib],
list_unused_filters: true,
halt_exit_status: true,
ignore_warnings: "dialyzer.ignore",
flags: [
"-Wunmatched_returns",
"-Werror_handling",
"-Wrace_conditions",
"-Wunderspecs",
"-Wno_opaque"
],
],
deps: deps(),
aliases: aliases(),
package: package(),
# Docs
name: "ExVertx",
source_ref: "v#{@version}",
version: @version,
canonical: "https://hexdocs.pm/ex_vertx",
description: "Elixir to Vert.x TCP bridge connector.",
source_url: "https://github.com/PharosProduction/ex-vertx",
homepage_url: "https://pharosproduction.com",
docs: [
output: "./docs",
extras: ["README.md", "LICENSE.md"]
]
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE.md"],
maintainers: ["Dmytro Nasyrov", "Pharos Production Inc."],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/PharosProduction/ExVertx"}
]
end
def application do
[
mod: {ExVertx.Application, []},
extra_applications: [:logger],
extra_applications: [
:sasl,
:logger,
:runtime_tools,
:observer,
:wx
]
]
end
defp deps do
[
{:gproc, "~> 0.8"},
{:jason, "~> 1.1"},
{:ex_doc, "~> 0.19", only: [:dev], runtime: false},
{:excoveralls, "~> 0.10", only: [:test]},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
defp aliases do
[
credo: ["credo --strict"],
cover: ["coveralls -u -v"],
dialyze: ["dialyzer --format dialyzer"]
]
end
end