defmodule StatusKu.Mixfile do use Mix.Project def project do [app: :status_ku, description: "Elixir client for the Heroku status API", version: "1.0.0", build_embedded: Mix.env == :prod, deps: deps(), elixir: "~> 1.3", package: package(), preferred_cli_env: ["coveralls": :test, "coveralls.details": :test, "coveralls.html": :test, "coveralls.post": :test, "coveralls.travis": :test], start_permanent: Mix.env == :prod, test_coverage: [tool: ExCoveralls]] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [mod: {StatusKu, []}, applications: [:httpoison, :logger, :poison]] 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 [{:httpoison, "~> 0.9.2"}, {:poison, "~> 3.0.0"}, # dev {:ex_doc, ">= 0.0.0", only: :dev}, # test {:bypass, "~> 0.5.1", git: "https://github.com/PSPDFKit-labs/bypass", only: :test}, {:excoveralls, "~> 0.5.7", only: :test}] end defp package do [ licenses: ["MIT"], links: %{"GitHub" => "https://github.com/sticksnleaves/status-ku"}, maintainers: ["anthonator"] ] end end