-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
57 lines (51 loc) · 1.43 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
defmodule Monero.Mixfile do
use Mix.Project
def project do
[
app: :monero,
version: version(),
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
description: "Monero API client",
name: "Monero",
source_url: "https://github.com/libra-ventures/monero",
docs: [
main: "Monero",
extras: ["README.md"]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:hackney, "~> 1.9", optional: true},
{:jsx, "~> 2.8", optional: true},
{:poison, ">= 3.0.0", optional: true},
{:httpdigest, "~> 0.0.3"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:dialyxir, "~> 0.5.0", only: :dev},
{:bypass, "~> 1.0", only: :test},
{:excoveralls, "~> 0.10", only: :test}
]
end
defp version(), do: "0.11.0"
defp package() do
[
files: ["lib", "config", "mix.exs", "README*"],
maintainers: ["Yevhenii Kurtov"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/libra-ventures/monero"}
]
end
end