-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
73 lines (66 loc) · 1.75 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
70
71
72
73
defmodule Effusion.Mixfile do
use Mix.Project
def project do
[
app: :effusion,
version: "0.2.0",
elixir: "~> 1.7",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
description: "A BitTorrent library.",
escript: [main_module: Effusion.CLI],
package: package(),
deps: deps(),
docs: docs(),
aliases: aliases(),
source_url: "https://github.com/Cantido/effusion",
dialyzer: [flags: [:error_handling, :race_conditions, :underspecs]]
]
end
defp elixirc_paths(:test), do: ["test/support", "lib"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: [:crypto, :logger, :ranch, :runtime_tools],
mod: {Effusion.Application, []}
]
end
defp deps do
[
{:bento, "~> 1.0"},
{:bypass, "~> 2.1", only: :test},
{:finch, "~> 0.16.0"},
{:httpoison, "~> 2.0"},
{:int_set, "~> 2.0"},
{:logger_file_backend, "~> 0.0.10"},
{:metatorrent, "~> 1.0"},
{:mox, "~> 1.0", only: :test},
{:ranch, "~> 1.7"},
{:solvent, github: "Cantido/solvent"},
{:temp, "~> 0.4", only: :test},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
]
end
defp package do
[
name: :effusion,
files: ["lib", "mix.exs"],
maintainers: ["Rosa Richter"],
licenses: ["GPL v3"],
links: %{"Github" => "https://github.com/Cantido/effusion"}
]
end
def docs do
[
main: "Effusion",
source_url: "https://github.com/cantido/effusion"
]
end
def aliases do
[
setup: ["deps.get"],
]
end
end