-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
37 lines (32 loc) · 1 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
defmodule Conduit.Mixfile do
use Mix.Project
def project do
[app: :conduit,
version: "1.1.0",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
consolidate_protocols: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test,
"coveralls.html": :test,
"coveralls.travis": :test],
deps: deps()]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[applications: [:logger]]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test),
do: elixirc_paths(:dev) ++ ["test/support", "test/support/messages"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[{:poison, "~> 2.2.0"},
{:mix_test_watch, "~> 0.2.6", only: [:test, :dev]},
{:excoveralls, "~> 0.6", only: :test}]
end
end