-
Notifications
You must be signed in to change notification settings - Fork 126
/
Copy pathmix.exs
53 lines (46 loc) · 1.19 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.PubSub.Mixfile do
use Mix.Project
@version "2.1.3"
def project do
[
app: :phoenix_pubsub,
version: @version,
elixir: "~> 1.6",
name: "Phoenix.PubSub",
description: "Distributed PubSub and Presence platform",
homepage_url: "http://www.phoenixframework.org",
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
docs: docs(),
deps: deps()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
mod: {Phoenix.PubSub.Application, []},
extra_applications: [:logger, :crypto],
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :docs}
]
end
defp package do
[
maintainers: ["Chris McCord", "José Valim", "Alexander Songe", "Gary Rennie"],
licenses: ["MIT"],
links: %{github: "https://github.com/phoenixframework/phoenix_pubsub"},
files: ~w(lib test/shared CHANGELOG.md LICENSE.md mix.exs README.md)
]
end
defp docs do
[
main: "Phoenix.PubSub",
source_ref: "v#{@version}",
source_url: "https://github.com/phoenixframework/phoenix_pubsub"
]
end
end