defmodule Retry.Mixfile do use Mix.Project def project do [ app: :retry, name: "retry", description: "Simple Elixir macros for linear retry, exponential backoff and wait with composable delays.", version: "0.10.0", elixir: "~> 1.5", source_url: "https://github.com/safwank/ElixirRetry", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps(), package: package(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [ "credo": :test, "coveralls.html": :test, "commit": :test ], aliases: [ "commit": ["credo --strict", "coveralls.html --trace"] ], default_task: "commit" ] end def application do [applications: [:logger]] end defp deps do [ {:credo, "~> 0.9", only: :test}, {:excoveralls, "~> 0.8", only: :test}, {:ex_doc, "~> 0.18", only: :dev}, {:earmark, "~> 1.2", only: :dev} ] end defp package do [ maintainers: ["Safwan Kamarrudin"], licenses: ["Apache 2.0"], links: %{github: "https://github.com/safwank/ElixirRetry"} ] end end