-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
84 lines (77 loc) · 2.01 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
defmodule DiodeClient.MixProject do
use Mix.Project
@version "1.2.7"
@name "Diode Client"
@url "https://github.com/diodechain/diode_client_ex"
@maintainers ["Dominic Letz"]
def project do
[
app: :diode_client,
version: @version,
name: @name,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
docs: docs(),
package: package(),
homepage_url: @url,
description: """
DiodeClient allows direct P2P connection to any other DiodeClient user on the planet
using Ethereum Addresses (e.g. 0xb794f5ea0ba39494ce839613fffba74279579268) and BNS names
(e.g. yourname.diode) instead of IPv4 or IPv6
""",
xref: [exclude: [:ranch_transport, Plug.Cowboy]]
]
end
defp aliases do
[
lint: [
"compile",
"format --check-formatted",
"credo",
"dialyzer"
]
]
end
defp docs do
[
main: "DiodeClient",
source_ref: "v#{@version}",
source_url: @url,
authors: @maintainers
]
end
defp package do
[
maintainers: @maintainers,
licenses: ["DIODE"],
links: %{github: @url},
files: ~w(lib LICENSE.md mix.exs README.md)
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {DiodeClient, []},
extra_applications: [:logger, :ssl]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:oncrash, "~> 0.1"},
{:debouncer, "~> 0.1"},
{:ex_sha3, "~> 0.1.1"},
{:libsecp256k1, "~> 0.1", hex: :libsecp256k1_diode_fork},
{:network_monitor, "~> 1.1"},
{:profiler, "~> 0.1"},
# {:libsecp256k1, github: "diodechain/libsecp256k1"},
# Linting
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:benchee, "~> 1.0", only: :dev}
]
end
end