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.1", 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