-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
40 lines (35 loc) · 1006 Bytes
/
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
defmodule FastEIP55.MixProject do
use Mix.Project
@repo_url "https://github.com/gregors/fast_eip_55"
def project do
[
app: :fast_eip_55,
version: "0.3.0",
description: "Faster Rust Keccak implementation of EIP-55. Encode and validate an Ethereum address against EIP-55 checksum in Elixir. ",
name: "Fast EIP-55",
package: package(),
elixir: "~> 1.8",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
source_url: @repo_url,
deps: deps()
]
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: ["Gregory Ostermayr"],
licenses: ["MIT"],
links: %{"GitHub" => @repo_url}
]
end
defp deps do
[
{:ex_keccak, "~> 0.6"},
{:ex_doc, ">= 0.28.0", only: :dev}
]
end
end