-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
50 lines (45 loc) · 1.04 KB
/
mix.exs
File metadata and controls
50 lines (45 loc) · 1.04 KB
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
defmodule HTTPClient.MixProject do
use Mix.Project
@name "HTTPClient"
@version "0.3.10"
@repo_url "https://github.com/ChannexIO/http_client"
def project do
[
app: :http_client,
version: @version,
elixir: "~> 1.16",
description: "Facade for HTTP client.",
docs: docs(),
start_permanent: Mix.env() == :prod,
name: @name,
source_url: @repo_url,
deps: deps()
]
end
def application do
[
extra_applications: [:logger],
mod: {HTTPClient.Application, []}
]
end
defp deps do
[
{:nimble_options, "~> 1.1"},
{:httpoison, "~> 2.3"},
{:finch, "~> 0.20"},
{:telemetry, "~> 1.3"},
{:jason, "~> 1.4"},
{:plug, "~> 1.19", only: :test, override: true},
{:plug_cowboy, "~> 2.7", only: :test, override: true},
{:lasso, "~> 0.1", only: :test},
{:ex_doc, "~> 0.39", only: :dev, runtime: false}
]
end
def docs do
[
source_ref: "v#{@version}",
source_url: @repo_url,
main: @name
]
end
end