-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
48 lines (42 loc) · 942 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
41
42
43
44
45
46
47
48
defmodule Todo.Mixfile do
use Mix.Project
def project do
[app: :todo,
version: "0.1.0",
elixir: "~> 1.0",
compilers: Mix.compilers,
deps: deps,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod]
end
####
# Applications
####
def application do
[
mod: { Todo, [] },
applications: [
:cowboy,
:logger,
] ++ (Mix.env == :dev && dev_applications || [])
]
end
defp dev_applications do
[:rl,]
end
####
# Deps
####
defp deps do
[{ :cowboy, "1.0.0" },
{ :ecto, "~> 1.0.0" },
{ :mazurka, "~> 0.3.33" },
{ :parse_trans, github: "uwiger/parse_trans" },
{ :plug, "~> 0.13.0" },
{ :plug_wait1, "~> 0.1.2" },
{ :poison, "1.4.0", override: true },
{ :postgrex, ">= 0.0.0" },
{ :rl, github: "camshaft/rl", only: :dev },
{ :simple_env, github: "camshaft/simple_env" },]
end
end