defmodule PlugSessionRedis.Mixfile do use Mix.Project def project do [ app: :plug_session_redis, version: "0.1.1", elixir: "~> 1.4", 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 [ applications: [:logger], mod: {PlugSessionRedis, []} ] 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"}, {:ex_doc, ">= 0.0.0", only: :dev} ] end defp package do # These are the default files included in the package [ name: "redis_session_plug", files: ["lib", "mix.exs", "README*", "README.md", "LICENSE"], maintainers: ["Anarchist Penguin", "Matt Widmann", "Hee Yeon Cho"], licenses: ["MIT"], links: %{"GitHub" => "https://github.com/anarchistpenguin/redis_session_plug"}, source_url: "https://github.com/anarchistpenguin/redis_session_plug", homepage_url: "https://github.com/anarchistpenguin/redis_session_plug" ] end end