-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
49 lines (42 loc) · 1.02 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
defmodule Pancake.MixProject do
use Mix.Project
def project do
[
app: :pancake,
version: "0.2.1",
start_permanent: true,
deps: deps(),
elixirc_paths: elixirc_paths(),
aliases: aliases()
]
end
def application do
[
mod: {Pancake, []}
]
end
defp deps do
[
{:plug_cowboy, "~> 2.5"},
{:phoenix_pubsub, "~> 2.0.0"},
{:ecto_sql, "~> 3.0"},
{:ecto_enum, "~> 1.4"},
{:jason, "~> 1.2"},
{:joken, "~> 2.0"},
{:elixir_uuid, "~> 1.2"},
{:net_address, "~> 0.3"},
{:httpoison, "~> 1.8"},
{:finch, "~> 0.6"},
{:sentry, "~> 8.0"},
{:postgrex, ">= 0.0.0"},
]
end
defp elixirc_paths(), do: ["lib"]
defp aliases do
[
"ecto.setup": ["ecto.create", "ecto.migrate"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
end