-
Notifications
You must be signed in to change notification settings - Fork 6
/
mix.exs
40 lines (35 loc) · 1.02 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
defmodule PhoenixTokenAuthReact.Mixfile do
use Mix.Project
def project do
[app: :phoenix_token_auth_react,
version: "0.0.1",
elixir: "~> 1.0",
elixirc_paths: ["lib", "web"],
compilers: [:phoenix] ++ Mix.compilers,
deps: deps]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[mod: {PhoenixTokenAuthReact, []},
applications: app_list(Mix.env) ]
end
defp app_list(:test), do: [:hound | app_list]
defp app_list(_), do: app_list
defp app_list, do: [:phoenix, :cowboy, :logger]
# Specifies your project dependencies
#
# Type `mix help deps` for examples and options
defp deps do
[{:phoenix, "~> 0.12.0"},
{:phoenix_ecto, "~> 0.3.2"},
{:phoenix_live_reload, "~> 0.3.3"},
{:postgrex, ">= 0.0.0"},
{:phoenix_token_auth, "0.0.13"},
# use github mailgun repo for phoenix token auth to have testing mode
{:cowboy, "~> 1.0"},
{:hound, ">= 0.6.0", only: :test},
]
end
end