-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
57 lines (52 loc) · 1.46 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
defmodule Circlex.MixProject do
use Mix.Project
def project do
[
app: :circlex_api,
version: "0.1.12",
elixir: "~> 1.13",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Circlex",
description: "Circle API Client and Emulator",
source_url: "https://github.com/compound-finance/circlex",
docs: [
main: "readme",
extras: ["README.md", "LICENSE.md"]
],
package: package()
]
end
defp package() do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Geoffrey Hayes"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/compound-finance/circlex"}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {Circlex.Application, []},
extra_applications: [:logger]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support", "deps/signet/test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.27", only: :dev, runtime: false},
{:signet, "~> 0.1.8"},
{:plug_cowboy, "~> 2.5"},
{:jason, "~> 1.2"},
{:httpoison, "~> 1.8"},
{:uuid, "~> 1.1"},
{:decimal, "~> 2.0", only: [:test, :dev]},
{:junit_formatter, "~> 3.1", only: [:test]}
]
end
end