-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
59 lines (53 loc) · 1.21 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
defmodule PlugCache.MixProject do
use Mix.Project
def project do
[
app: :plug_cache,
description: description(),
version: "0.1.1-rc1",
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
aliases: aliases()
]
end
defp description do
"""
An Elixir plug to cache the response
"""
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {PlugCache.Application, []},
applications: [:nebulex],
extra_applications: [:logger],
env: []
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:nebulex, "~> 1.0.0-rc.2"},
{:plug, "~> 1.0"},
{:benchee, "~> 0.10", only: [:dev, :test], optional: true},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
name: :plug_cache,
files: ["lib", "config", "mix.exs", "README*"],
maintainers: ["Shuhei Hayashibara"],
licenses: ["MIT"],
links: %{github: "https://github.com/shufo/plug_cache"}
]
end
defp aliases do
[
test: ["test --no-start"]
]
end
end