-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmix.exs
53 lines (48 loc) · 1.22 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
defmodule PlugEtsCache.Mixfile do
use Mix.Project
def project do
[
app: :plug_ets_cache,
version: "0.3.1",
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: description(),
# Docs
name: "PlugEtsCache",
source_url: "https://github.com/andreapavoni/plug_ets_cache",
homepage_url: "https://github.com/andreapavoni/plug_ets_cache",
docs: [
main: "PlugEtsCache",
extras: ["README.md"]
]
]
end
def application do
[extra_applications: [:logger], mod: {PlugEtsCache, []}]
end
defp deps do
[
{:plug, "~> 1.3"},
{:con_cache, "~> 0.13.0"},
{:phoenix, "~> 1.2 or ~> 1.3", optional: true},
{:ex_doc, "~> 0.18.0", only: :dev, runtime: false}
]
end
defp package do
[
name: :plug_ets_cache,
files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Andrea Pavoni"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/andreapavoni/plug_ets_cache"}
]
end
defp description do
"""
A simple caching system based on Plug and ETS.
"""
end
end