-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
45 lines (40 loc) · 972 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
defmodule Throttlex.Mixfile do
use Mix.Project
def project do
[app: :throttlex,
version: "0.0.9",
elixir: "~> 1.4",
name: "Throttlex",
deps: deps(),
package: package(),
description: description(),
source_url: "https://github.com/2nd/throttlex",
homepage_url: "https://github.com/2nd/throttlex",
docs: [extras: ["README.md"]]]
end
defp description do
"""
Throttlex is a rate limiter based on leaky bucket algorithms.
"""
end
def application do
[
mod: {Throttlex.App, []},
applications: [:logger]
]
end
def deps do
[
{:ex_doc, ">= 0.0.0", only: :dev},
{:dialyxir, "~> 0.5.1", only: [:dev], runtime: false},
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE"],
licenses: ["MIT"],
maintainers: ["michelle@secondspectrum.com"],
links: %{"GitHub" => "https://github.com/2nd/throttlex"}
]
end
end