-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
39 lines (34 loc) · 927 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
defmodule FlightStatus.Mixfile do
use Mix.Project
def project do
[
app: :flight_status,
version: "0.2.0-dev",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
compilers: compilers(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps()
]
end
def application do
[
mod: {FlightStatus.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp compilers(:prod), do: [:phoenix] ++ Mix.compilers ++ [:brunch]
defp compilers(_), do: [:phoenix] ++ Mix.compilers
defp deps do
[
{:cowboy, "~> 1.0"},
{:phoenix, "~> 1.3.2"},
{:phoenix_pubsub, "~> 1.0"},
{:phoenix_html, "~> 2.10"},
{:phoenix_live_reload, "~> 1.0", only: :dev}
]
end
end