Current section
Files
Jump to
Current section
Files
multiverses_pubsub
mix.exs
mix.exs
defmodule MultiversesPubsub.MixProject do
use Mix.Project
@multiverses_version "0.7.0"
@phoenix_pubsub_version "2.0.0"
def project do
[
app: :multiverses_pubsub,
version: "0.3.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: [
description: "multiverse support for Phoenix.PubSub Library",
licenses: ["MIT"],
files: ~w(lib mix.exs README* LICENSE* VERSIONS*),
links: %{"GitHub" => "https://github.com/ityonemo/multiverses_pubsub"}
],
docs: [
main: "Multiverses.Phoenix.PubSub",
extra_section: "GUIDES",
groups_for_extras: ["Guides": ~r/guides\/.?/],
extras: ["README.md", "guides/phoenix.presence.md"],
source_url: "https://github.com/ityonemo/multiverses_pubsub"
],
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
# parent library that's being cloned
{:phoenix_pubsub, "~> #{@phoenix_pubsub_version}"},
{:multiverses, "~> #{@multiverses_version}", runtime: false},
# for testing and support
{:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.11", only: :test, runtime: false},
{:ex_doc, "~> 0.21.2", only: :dev, runtime: false},
{:dialyxir, "~> 0.5.1", only: :dev, runtime: false},
# for presence guidelines testing
{:phoenix, "~> 1.5.3", only: :test},
{:jason, "~> 1.2", only: [:dev, :test]}
]
end
end