-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmix.exs
70 lines (61 loc) · 1.54 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
61
62
63
64
65
66
67
68
69
70
defmodule Faktory.Mixfile do
use Mix.Project
@version "0.7.0"
def project do
[
app: :faktory_worker_ex,
version: @version,
elixir: ">= 1.5.0",
start_permanent: Mix.env == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env),
aliases: aliases(),
# Hex
description: "Elixir worker for Faktory (successor of Sidekiq); async/background queue processing",
package: [
maintainers: ["Christopher J. Bottaro"],
licenses: ["GNU General Public License v3.0"],
links: %{"GitHub" => "https://github.com/cjbottaro/faktory_worker_ex"},
],
# Docs
docs: [
extras: [
"README.md": [title: "README", name: "readme"],
"CHANGELOG.md": [title: "CHANGELOG"],
"Architecture.md": [title: "Architecture"],
],
main: "readme",
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Faktory.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:connection, "~> 1.0"},
{:jason, "~> 1.1"},
{:poolboy, "~> 1.5"},
{:socket, "~> 0.3"},
{:gen_stage, "~> 0.14"},
{:ex_doc, "~> 0.19", only: :dev},
{:mox, "~> 0.3", only: :test},
]
end
defp elixirc_paths(:test) do
["lib", "test/support"]
end
defp elixirc_paths(_) do
["lib"]
end
defp aliases do
[
# compile: ["compile --warnings-as-errors"]
]
end
end