-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
49 lines (43 loc) · 1.18 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
defmodule ArchethicClient.MixProject do
use Mix.Project
def project do
[
app: :archethic_client,
version: "0.1.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: dialyzer(),
consolidate_protocols: Mix.env() == :prod
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {ArchethicClient.Application, []}
]
end
# Specify dialyzer path
defp dialyzer do
[
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Web
{:req, "~> 0.5"},
# Currently using fork waiting for issue: https://github.com/CargoSense/absinthe_client/issues/19
{:absinthe_client, git: "https://github.com/Neylix/absinthe_client.git"},
# Utils
{:decimal, "~> 2.0"},
# Dev
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:styler, "~> 1.0", only: [:dev, :test], runtime: false}
]
end
end