-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
47 lines (42 loc) · 949 Bytes
/
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 Trex.Mixfile do
use Mix.Project
def project do
[
app: :trex,
version: "0.5.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps
]
end
def application do
[
applications: [:logger, :amnesia, :ranch],
mod: {Trex, []}
]
end
defp deps do
[
{:amnesia, "~> 0.2.0", github: "meh/amnesia"},
{:credo, "~> 0.3", only: [:dev, :test]},
{:exrm, "~> 1.0.6"},
{:ranch, "~> 1.2.1"}
]
end
defp description do
"""
Trex is a key value store implementing a subset of Redis protocol,
designed to be suitable as a Rails I18n backend.
"""
end
defp package do
[
name: :trex,
maintainers: ["Michał Darda", "Ignacy Moryc"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/ignacy/trex" }
]
end
end