-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
51 lines (43 loc) · 1.09 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
defmodule Ethereum.Wallet.Mixfile do
use Mix.Project
def project do
[
app: :ethereum_wallet,
version: "0.0.1",
elixir: "~> 1.0",
elixirc_paths: elixirc_paths(Mix.env),
description: description(),
package: package(),
deps: deps()
]
end
def application do
[applications: applications(Mix.env)]
end
#
# Private
#
# Specifies which paths to compile per environment
defp elixirc_paths(:test), do: ["test/support"] ++ elixirc_paths(:prod)
defp elixirc_paths(_), do: ["lib", "lib/ethereum_wallet_elixir"]
defp applications(_) do
[]
end
defp deps do
[{:ksha3, "~> 1.0.0", git: "https://github.com/onyxrev/ksha3.git", branch: "master"},
{:mock, "~> 0.2.0", only: :test}]
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Dan Connor Consulting"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/onyxrev/ethereum_wallet_elixir"}
]
end
defp description do
"""
Generate Ethereum wallets with Elixir
"""
end
end