-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmix.exs
54 lines (49 loc) · 1.36 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
defmodule ExqScheduler.Mixfile do
use Mix.Project
def project do
[
app: :exq_scheduler,
version: "1.1.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "Cron like job scheduler for Exq",
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
dialyzer: [
plt_add_deps: :transitive,
flags: [:unmatched_returns, :race_conditions, :error_handling, :underspecs]
],
xref: [exclude: [Jason]]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {ExqScheduler, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:tzdata, "~> 1.1"},
{:timex, "~> 3.7"},
{:redix, "~> 0.7 or ~> 1.0"},
{:jason, "~> 1.3"},
{:crontab, "~> 1.1"},
{:elixir_uuid, "~> 1.2"},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:toxiproxy, "~> 0.3", only: :test}
]
end
defp package do
%{
licenses: ["MIT"],
links: %{"Github" => "https://github.com/activesphere/exq-scheduler"},
maintainers: ["[email protected]", "[email protected]"]
}
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end