defmodule Hivent.Mixfile do use Mix.Project def project do [app: :hivent, version: "2.2.0", elixir: "~> 1.4", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, description: description(), package: package(), deps: deps(), elixirc_paths: elixirc_paths(Mix.env)] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [mod: {Hivent, []}, applications: [:logger, :timex, :phoenix_pubsub]] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [{:exredis, "~> 0.2"}, {:uuid, "~> 1.1"}, {:poison, "~> 3.1"}, {:timex, "~> 3.1"}, {:gen_stage, "~> 0.12"}, {:phoenix_pubsub, "~> 1.0"}, {:credo, "~> 0.8", only: [:dev, :test]}, {:ex_doc, ">= 0.0.0", only: :dev}] end defp description do """ An event stream that aggregates facts about your application. """ end defp package do [# These are the default files included in the package name: :hivent, maintainers: ["Bruno Abrantes"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/inf0rmer/ex-hivent", "Docs" => "https://github.com/inf0rmer/ex-hivent"}] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] end