-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
49 lines (44 loc) · 966 Bytes
/
mix.exs
File metadata and controls
49 lines (44 loc) · 966 Bytes
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
defmodule Tester.MixProject do
use Mix.Project
def project do
[
app: :tester,
version: "0.1.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
escript: escript(),
deps: deps(),
dialyzer: dialyzer()
]
end
def application do
[
mod: {Tester.Application, []},
extra_applications: [:logger]
]
end
def escript do
[
main_module: Tester.Cli
]
end
defp deps do
[
{:tesla, "~> 1.4"},
{:poison, ">= 1.0.0"},
{:ink, "~> 1.0"},
{:retry, "~> 0.14"},
# Tesla.Adapter.Gun dependency
{:gun, "~> 1.3"},
# Tesla.Adapter.Gun dependency
{:idna, "~> 6.0"},
# Tesla.Adapter.Gun dependency
{:castore, "~> 0.1"},
# Only dev
{:dialyxir, "~> 1.0.0", only: [:dev], runtime: false}
]
end
defp dialyzer do
[flags: ["-Wunmatched_returns", :error_handling, :race_conditions, :unknown]]
end
end