-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
60 lines (53 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
defmodule ExJob.Mixfile do
use Mix.Project
@app :ex_job
@version "0.2.1"
@github "https://github.com/eidge/ex_job"
def project do
[
app: @app,
version: @version,
elixir: "~> 1.5",
consolidate_protocols: Mix.env() != :test,
description: "Zero dependency, ultra-fast, background job processing library.",
package: package(),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
docs: docs()
]
end
def application do
[
extra_applications: [:logger],
mod: {ExJob.Application, []}
]
end
defp package do
[
name: @app,
maintainers: ["Hugo Ribeira"],
licenses: ["MIT"],
files: ~w(mix.exs lib README.md),
links: %{"Github" => @github}
]
end
defp deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:benchee, "~> 0.11", only: :dev},
{:gen_stage, "~> 0.13"}
]
end
defp aliases do
[
test: "test --no-start"
]
end
defp docs do
[
main: "ExJob",
extras: ["README.md"]
]
end
end