-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
41 lines (36 loc) Β· 937 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
defmodule BreakingPp.MixProject do
use Mix.Project
def project do
[
app: :breaking_pp,
version: "0.1.0",
elixir: "~> 1.6",
elixirc_paths: elixirc_paths(Mix.env),
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases()
]
end
def application do
[
extra_applications: [:logger],
mod: {BreakingPP.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp aliases, do: [test: "test --exclude=property"]
defp deps do
[
{:cowboy, "~> 2.4"},
{:poison, "~> 3.1"},
{:phoenix_pubsub, github: "phoenixframework/phoenix_pubsub"},
{:recon, "~> 2.3"},
{:distillery, "~> 1.5", runtime: false},
{:httpoison, "~> 1.1"},
{:socket, "~> 0.3.13"},
{:mock, "~> 0.3.0", only: :test},
{:propcheck, "~> 1.0", only: :test}
]
end
end