forked from safwank/ElixirRetry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
55 lines (51 loc) · 1.31 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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.18.0",
elixir: "~> 1.12",
source_url: "https://github.com/safwank/ElixirRetry",
docs: [
extras: ["README.md"],
source_ref: "master"
],
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: ["dialyzer", "credo --strict", "coveralls.html --trace"]
],
default_task: "commit"
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:credo, "~> 1.7.0", only: :test},
{:excoveralls, "~> 0.16.0", only: :test},
{:dialyxir, "~> 1.3.0", only: [:dev, :test]},
{:ex_doc, "~> 0.29.0", only: :dev},
{:earmark, "~> 1.4.0", only: :dev}
]
end
defp package do
[
maintainers: ["Safwan Kamarrudin"],
licenses: ["Apache 2.0"],
links: %{github: "https://github.com/safwank/ElixirRetry"}
]
end
end