Current section
Files
Jump to
Current section
Files
mix.exs
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.6.0",
elixir: "~> 1.1",
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.5", only: :test},
{:excoveralls, "~> 0.5", only: :test},
{:ex_doc, "~> 0.14", only: :dev},
{:earmark, "~> 1.0", only: :dev}
]
end
defp package do
[
maintainers: ["Safwan Kamarrudin"],
licenses: ["Apache 2.0"],
links: %{github: "https://github.com/safwank/ElixirRetry"}
]
end
end