-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
41 lines (38 loc) · 1.07 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
defmodule BtgsProxy.MixProject do
@moduledoc false
use Mix.Project
def project do
[
app: :http_proxy,
version: "0.1.0",
elixir: "~> 1.13",
start_permanent: Mix.env() == :prod,
compilers: Mix.compilers(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {HttpProxy, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# https://hexdocs.pm/http_proxy/readme.html
# https://github.com/KazuCocoa/http_proxy
# {:http_proxy, "~> 1.6"}
{:plug_cowboy, "~> 2.6"},
{:hackney, "~> 1.18"},
{:exjsx, "~> 4.0.0"},
{:earmark, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.29", only: :dev, runtime: false},
{:ex_parameterized, "~> 1.0", only: :test, runtime: false},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:stream_data, "~> 0.1", only: :test}
]
end
end