-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
49 lines (45 loc) · 1.59 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
defmodule SomeApp.Mixfile do
use Mix.Project
def project do
[app: :some_app,
version: "0.1.0",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
deps: deps()]
end
# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[mod: {SomeApp, []},
applications: [:logger, :phoenix, :phoenix_pubsub, :redix_pubsub_fastlane, :phoenix_html,
:gettext,
:poolboy, :cowboy,
:p1_utils, :iconv, :distillery]]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "web", "test/support"]
defp elixirc_paths(_), do: ["lib", "web"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[{:phoenix, "~> 1.3.0"},
{:redix_pubsub_fastlane, "~> 0.1"},
{:phoenix_pubsub, "~> 1.0"},
{:phoenix_html, "~> 2.6"},
{:gettext, "~> 0.11"},
{:poison, "~> 3.0"},
{:iconv, "~> 1.0", github: "processone/iconv", tag: "1.0.5", compile: "./configure; ~/.mix/rebar get-deps compile"},
{:p1_utils, "~> 1.0"},
{:poolboy, "~> 1.5.1"},
{:cowboy, "~> 1.0"},
{:excoveralls, "~> 0.5", only: :test},
{:distillery, "~> 1.5.1"}]
end
end