-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
69 lines (61 loc) · 1.58 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
defmodule BitcoinCoreClient.MixProject do
use Mix.Project
@version "0.1.3"
def project do
[
app: :bitcoin_core_client,
version: @version,
description: "Allows access to Bitcoin Core nodes in native Elixir format",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
application: [applications: [:httpoison]],
deps: deps(),
# Docs
name: "BitcoinCoreClient",
source_url: "https://github.com/RooSoft/bitcoin_core_client",
homepage_url: "https://github.com/RooSoft/bitcoin_core_client",
docs: docs(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp docs do
[
# The main page in the docs
main: "BitcoinCoreClient",
extras: docs_extras(),
assets: "/guides/assets",
source_ref: @version,
source_url: "https://github.com/RooSoft/bitcoin_core_client"
]
end
def docs_extras do
[
"README.md"
]
end
def package do
[
maintainers: ["Marc Lacoursière"],
licenses: ["UNLICENCE"],
links: %{"GitHub" => "https://github.com/RooSoft/bitcoin_core_client"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.29.1", only: :dev, runtime: false},
{:hammox, "~> 0.7", only: :test},
{:dialyxir, "~> 1.2", only: [:dev], runtime: false},
{:httpoison, "~> 1.8"},
{:jason, "~> 1.4"},
{:chumak, "~> 1.4"},
{:binary, "~> 0.0.5"}
]
end
end