forked from phoenixframework/phoenix_pubsub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
42 lines (36 loc) · 1.18 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
Enum.each Path.wildcard("tasks/*.exs"), &Code.require_file/1
defmodule Phoenix.PubSub.Mixfile do
use Mix.Project
def project do
[app: :phoenix_pubsub,
version: "1.1.0",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
elixirc_paths: elixirc_paths(Mix.env),
package: package(),
deps: deps(),
source_url: "https://github.com/phoenixframework/phoenix_pubsub",
homepage_url: "http://www.phoenixframework.org",
description: """
Distributed PubSub and Presence platform
"""]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[applications: [:logger, :crypto],
mod: {Phoenix.PubSub.Supervisor, []}]
end
defp deps do
[{:dialyze, "~> 0.2.0", only: :dev},
{:ex_doc, ">= 0.0.0", only: :dev}]
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) ++
~w(CHANGELOG.md LICENSE.md mix.exs README.md)]
end
end