-
Notifications
You must be signed in to change notification settings - Fork 12
/
mix.exs
55 lines (50 loc) · 1.22 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
defmodule ActivatorKafka.MixProject do
use Mix.Project
@app :activator_kafka
@version "0.0.0-local.dev"
def project do
[
app: @app,
version: @version,
build_path: "../activator/_build",
config_path: "../../config/config.exs",
deps_path: "../activator/deps",
lockfile: "../activator/mix.lock",
elixir: "~> 1.15",
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],
mod: {ActivatorKafka.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:activator, path: "../activator"},
{:spawn, path: "../../"},
{:broadway_kafka, "~> 0.4.1"},
{:bakeware, "~> 0.2"},
{:bandit, "~> 1.1"},
{:nimble_options, "~> 0.5.2", override: true}
]
end
defp releases do
[
activator_kafka: [
include_executables_for: [:unix],
applications: [activator_kafka: :permanent],
steps: [
:assemble,
&Bakeware.assemble/1
],
bakeware: [compression_level: 19]
]
]
end
end