-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathmix.exs
54 lines (48 loc) · 1.34 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
defmodule ExploringElixir.Mixfile do
use Mix.Project
def project do
[app: :exploring_elixir,
version: "0.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
aliases: aliases()]
end
def application do
[
# as a fist-full-of-demos, let's manually start our applications
# note that this is NOT best practice; normally one would not
# have an applications: entry at all and just let mix do its magic
# on our behalf
applications: applications(Mix.env),
extra_applications: [:logger],
mod: {ExploringElixir.Application, []}
]
end
defp applications(:dev), do: [:remix]
defp applications(:test), do: [:remix]
defp applications(_), do: []
defp deps do
[
{:benchee, "~> 0.9.0"},
{:benchee_html, "~> 0.3"},
{:ecto, "~> 2.1.6"},
{:flow, "~> 0.12" },
{:libcluster, "~> 2.2.3"},
{:poison, "~> 3.1.0"},
{:postgrex, "~> 0.13.3"},
{:timex, "~> 3.0"},
{:triplex, "~> 0.9.0"},
{:uuid, "~> 1.1.7"},
{:jalaali, "~> 0.2.1"},
{:ok, "~> 1.9"},
# dev and test dependencies
{:quixir, "~>0.9", only: :test},
{:remix, "~> 0.0.2", only: [:dev, :test]},
{:credo, "~> 0.8.6", only: [:dev, :test]}
]
end
defp aliases do
end
end