-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
60 lines (55 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
58
59
60
defmodule ExIpfs.Mixfile do
@moduledoc false
use Mix.Project
def project do
[
app: :ex_ipfs,
version: "0.1.8",
elixir: "~> 1.14",
name: "Elixir IPFS",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
source_url: "https://github.com/bahner/ex-ipfs.git",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger, :tesla],
mod: {ExIpfs.Application, []}
]
end
defp deps do
[
{:hackney, "~> 1.18"},
{:jason, "~> 1.4"},
{:nanoid, "~> 2.0"},
{:recase, "~> 0.7.0"},
{:temp, "~> 0.4.7"},
{:tesla, "~> 1.5"},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.2", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.29", only: :dev, runtime: false},
{:excoveralls, "~> 0.15", only: :test, runtime: false}
]
end
defp description() do
"Core Elixir IPFS module for Kubo IPFS RPC API"
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*", "AUTHORS*"],
maintainers: ["Lars Bahner"],
licenses: ["GPL-3.0"],
links: %{"GitHub" => "https://github.com/bahner/ex-ipfs"}
]
end
end