-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
40 lines (36 loc) · 816 Bytes
/
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
defmodule MystexPizza.MixProject do
use Mix.Project
def project do
[
app: :mystex_pizza_on_broadway,
version: "0.1.0",
elixir: "~> 1.8",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases()
]
end
def application do
[
extra_applications: [:logger],
mod: {MystexPizza.Application, []}
]
end
defp deps do
[
{:broadway, "~> 0.4.0"},
{:ecto, "~> 3.2"},
{:ecto_sql, "~> 3.2"},
{:postgrex, ">= 0.0.0"},
{:jason, "~> 1.1"},
{:faker, "~> 0.12.0"}
]
end
defp aliases do
[
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
end