forked from unnawut/eip_55
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
45 lines (41 loc) · 1.12 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
defmodule EIP55.MixProject do
use Mix.Project
def project do
[
app: :eip_55,
version: "0.1.0",
description: "Encode and validate an Ethereum address against EIP-55 checksum in Elixir.",
name: "EIP-55",
package: package(),
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Unnawut Leepaisalsuwanna"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/unnawut/eip_55"}
]
end
defp deps do
[
{:ex_doc, ">= 0.19.0", only: :dev},
{:excoveralls, "~> 0.16", only: :test},
{:ex_keccak, "~> 0.7.1"}
]
end
end