-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmix.exs
46 lines (40 loc) · 1.03 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
defmodule PlugSessionRedis.Mixfile do
use Mix.Project
def project do
[app: :plug_session_redis,
version: "0.1.0",
elixir: "~> 1.0",
description: description,
package: package,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[mod: {PlugSessionRedis, []},
applications: []]
end
defp description do
"""
The Redis Plug.Session adapter for the Phoenix framework.
"""
end
defp deps do
[
{:plug, "~> 1.4", optional: true},
{:poolboy, "~> 1.5"},
{:redo, "~> 2.0"}
]
end
defp package do
[# These are the default files included in the package
files: ["lib", "priv", "mix.exs", "README*", "README.md", "LICENSE"],
contributors: ["Hee Yeon Cho", "Matt Widmann"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/aposto/plug_session_redis"}
]
end
end