forked from phoenixframework/phoenix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
53 lines (46 loc) · 1.5 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
50
51
52
53
defmodule Phoenix.Mixfile do
use Mix.Project
@version "0.13.0-dev"
def project do
[app: :phoenix,
version: @version,
elixir: "~> 1.0.2 or ~> 1.1-dev",
deps: deps,
package: package,
docs: [source_ref: "v#{@version}", main: "overview"],
name: "Phoenix",
source_url: "https://github.com/phoenixframework/phoenix",
homepage_url: "http://www.phoenixframework.org",
description: """
Elixir Web Framework targeting full-featured, fault tolerant applications
with realtime functionality
"""]
end
def application do
[mod: {Phoenix, []},
applications: [:plug, :poison, :logger, :eex],
env: [template_engines: [],
format_encoders: [],
filter_parameters: ["password"],
serve_endpoints: false]]
end
defp deps do
[{:cowboy, "~> 1.0", optional: true},
{:plug, ">= 0.12.2 and < 2.0.0"},
{:poison, "~> 1.3"},
{:redo, github: "heroku/redo", optional: true},
{:poolboy, "~> 1.5.1 or ~> 1.6", optional: true},
# Docs dependencies
{:earmark, "~> 0.1", only: :docs},
{:ex_doc, "~> 0.7.1", only: :docs},
{:inch_ex, "~> 0.2", only: :docs},
# Test dependencies
{:phoenix_html, "~> 1.0", only: :test},
{:websocket_client, github: "jeremyong/websocket_client", only: :test}]
end
defp package do
[contributors: ["Chris McCord", "Darko Fabijan", "José Valim"],
licenses: ["MIT"],
links: %{github: "https://github.com/phoenixframework/phoenix"}]
end
end