-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
60 lines (52 loc) · 1.41 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 PersQueue.MixProject do
use Mix.Project
def project do
[
app: :pers_queue,
version: "0.0.1",
elixir: "~> 1.4",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test],
name: "PersQueue",
source_url: "https://github.com/astorre88/pers_queue"
]
end
defp description do
"""
The library implements persistent queue for Elixir applications.
"""
end
defp package do
[
files: ["lib", "mix.exs", "README.md"],
maintainers: ["Dmitry Vysotsky"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/astorre88/pers_queue"}
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {PersQueue, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Persistence backend
{:amnesia, "~> 0.2"},
# Code style
{:credo, "~> 0.9.1", only: [:dev, :test], runtime: false},
# Docs
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
{:inch_ex, "~> 0.5", only: [:dev, :test]},
# Test coverage
{:excoveralls, "~> 0.8", only: :test}
]
end
end