-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
56 lines (52 loc) · 1.18 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
defmodule IusCryptoNegotiationeBot.MixProject do
use Mix.Project
def project do
[
apps_path: "apps",
version: "0.1.0",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
consolidate_protocols: Mix.env() == :prod,
preferred_cli_env: [
"test.unit": :test
],
releases: [
ius_crypto_negotiatione_bot_umbrella: [
applications: [
streamer: :permanent,
naive: :permanent,
data_warehouse: :permanent,
core: :permanent,
binance_mock: :permanent
]
]
]
]
end
# Dependencies listed here are available only for this
# project and cannot be accessed from applications inside
# the apps folder.
#
# Run "mix help deps" for examples and options.
defp deps do
[]
end
defp aliases do
[
setup: [
"ecto.drop",
"ecto.create",
"ecto.migrate",
"cmd --app naive --app streamer mix seed"
],
"test.integration": [
"setup",
"test --only integration"
],
"test.unit": [
"test --only unit --no-start"
]
]
end
end