-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
47 lines (38 loc) · 1.16 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
defmodule Jumbo.Mixfile do
use Mix.Project
def project do
[app: :jumbo,
version: "1.0.2",
elixir: "~> 1.3",
elixirc_paths: elixirc_paths(Mix.env),
name: "Jumbo",
description: "Reliable, OTP-style, lightweight job processing queue",
package: package(),
source_url: "https://github.com/mspanc/jumbo",
preferred_cli_env: [espec: :test, "coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
test_coverage: [tool: ExCoveralls, test_task: "espec"],
deps: deps()]
end
def application do
[applications: [
:logger, :crypto,
], mod: {Jumbo, []}]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib",]
defp deps do
[
{:espec, "~> 1.1.2", only: :test},
{:ex_doc, "~> 0.14", only: :dev},
{:excoveralls, "~> 0.6", only: :test},
]
end
defp package do
[
files: ["lib", "mix.exs", "README*"],
maintainers: ["Marcin Lewandowski"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mspanc/jumbo"}
]
end
end