-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
46 lines (41 loc) · 1.07 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
defmodule Every.MixProject do
use Mix.Project
@vsn "0.0.9"
@deps [
{:timex, "~> 3.6"},
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
{:excoveralls, "~> 0.12", only: :test},
{:inch_ex, github: "rrrene/inch_ex", only: [:dev, :test]},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false}
]
@package [
name: "every",
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/imanhodjaev/every"}
]
@description "Calculate even intervals for `Process.send_after/3`"
def project do
[
app: :every,
version: @vsn,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: @deps,
description: @description,
package: @package,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
]
]
end
def application do
[
extra_applications: [:logger, :timex]
]
end
end