-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
53 lines (49 loc) · 1.24 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
defmodule MozartFetcher.MixProject do
use Mix.Project
@version "1.0.0"
def project do
[
app: :mozart_fetcher,
version: @version,
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
deps: deps(),
releases: releases()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :cowboy, :plug, :httpoison, :con_cache],
mod: {MozartFetcher.Application, [env: Mix.env()]}
]
end
defp releases do
[
mozart_fetcher: [
version: @version,
validate_compile_env: false,
include_executables_for: [:unix],
applications: [runtime_tools: :permanent],
steps: [:assemble, :tar],
include_erts: true,
include_src: false
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:plug_cowboy, "~> 2.5"},
{:httpoison, "~> 1.8"},
{:con_cache, "~> 1.0"},
{:parse_trans, "~> 3.4", override: true},
{:hackney, "~> 1.20.1"},
{:telemetry, "~> 1.0"},
{:telemetry_metrics, "~> 0.6"},
{:telemetry_metrics_statsd, "~> 0.7"},
{:logger_file_backend, "~> 0.0.10"},
{:jason, "~> 1.3"}
]
end
end