-
Notifications
You must be signed in to change notification settings - Fork 18
/
mix.exs
47 lines (40 loc) · 875 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 HashRing.Mixfile do
use Mix.Project
def project do
[
app: :hash_ring_ex,
version: "1.1.2",
elixir: "~> 1.0.0 or ~> 0.15.1",
description: description,
package: package,
deps: deps,
compilers: [:yecc, :leex, :rebar, :erlang, :elixir, :app]
]
end
def application do
[applications: []]
end
defp deps do
[]
end
defp description do
"""
A consistent hash-ring implemention for Elixir.
"""
end
defp package do
[
contributors: ["Jamie Winsor"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/reset/hash-ring-ex"},
files: ["lib", "mix.exs", "README*", "LICENSE", "rebar*"]
]
end
end
defmodule Mix.Tasks.Compile.Rebar do
use Mix.Task
def run(_) do
Mix.shell.cmd "./rebar g-d"
Mix.shell.cmd "./rebar co"
end
end