-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
70 lines (64 loc) · 1.84 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
defmodule Slurp.MixProject do
use Mix.Project
def project do
[
app: :slurp,
version: "0.0.12",
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
description: description(),
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
package: package(),
test_paths: ["lib"],
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs"
]
]
end
def application do
[
mod: {Slurp.Application, []},
start_phases: [
hydrate: [],
blockchains_and_subscriptions: []
],
extra_applications: [:logger, :iex]
]
end
defp deps do
[
{:enumerati, "~> 0.0.8"},
{:ex_doc, "~> 0.22"},
# ex_abi ~> 0.5.5 required for decoding of output without method_id prefix
# https://github.com/poanetwork/ex_abi/pull/61
{:ex_abi, "~> 0.5.5"},
# {:exw3, github: "hswick/exw3", branch: "master"},
{:exw3, "~> 0.6.1"},
{:juice, "~> 0.0.3"},
{:proper_case, "~> 1.0"},
{:stored, "~> 0.0.7"},
{:table_rex, "~> 3.0"},
{:telemetry, "~> 0.4 or ~> 1.0"},
{:telemetry_metrics, "~> 0.4"},
{:telemetry_poller, "~> 0.4 or ~> 1.0"},
{:telemetry_metrics_prometheus, "~> 1.0"},
{:logger_file_backend, "~> 0.0.10", only: [:dev, :test]},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:mix_test_watch, "~> 1.0", only: :dev, runtime: false},
{:ex_unit_notifier, "~> 1.0", only: :test}
]
end
defp description do
"An EVM block ingestion toolkit for Elixir"
end
defp package do
%{
licenses: ["MIT"],
maintainers: ["Alex Kwiatkowski"],
links: %{"GitHub" => "https://github.com/fremantle-industries/slurp"}
}
end
defp elixirc_paths(env) when env == :test or env == :dev, do: ["lib", "examples"]
defp elixirc_paths(_), do: ["lib"]
end