-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
64 lines (62 loc) · 1.9 KB
/
mix.exs
File metadata and controls
64 lines (62 loc) · 1.9 KB
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
defmodule Mana.MixProject do
use Mix.Project
def project do
[
apps_path: "apps",
apps: [
:logger,
:logger_file_backend,
:common,
:exth,
:exth_crypto,
:merkle_patricia_tree,
:evm,
:ex_wire,
:blockchain,
:cli,
:jsonrpc2
],
elixirc_options: [warnings_as_errors: false],
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
dialyzer: [
flags: [:underspecs, :unknown, :unmatched_returns],
ignore_warnings: ".dialyzer.ignore-warnings",
plt_add_apps: [:mix, :iex, :ex_unit, :ranch, :plug, :hackney, :jason, :websockex, :cowboy]
],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.json": :test,
check: :test
],
deps: deps()
]
end
# Dependencies listed here are available only for this
# project and cannot be accessed from applications inside
# the apps folder.
#
# Run "mix help deps" for examples and options.
defp deps do
[
{:ex_rlp, "~> 0.6"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:dialyxir, "~> 1.0.0-rc.4", only: [:dev, :test], runtime: false},
{:ethereumex, "~> 0.5.1"},
{:jason, "~> 1.4"},
{:credo, "~> 1.0.0-rc1", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.18", only: :test},
{:stream_data, "~> 0.6", only: [:dev, :test]},
{:artificery, "~> 0.1.0"},
{:logger_file_backend, "~> 0.0.10"},
{:ssl_verify_fun, "~> 1.1.7", override: true},
# Fixed version of mix_erlang_tasks to avoid broken hex package
{:mix_erlang_tasks, "0.1.0", path: "vendor/mix_erlang_tasks", override: true},
{:ex_check, "~> 0.14", only: [:dev, :test], runtime: false}
]
end
end