defmodule RedisMutex.Mixfile do use Mix.Project def project do [ app: :redis_mutex, version: "0.4.0", elixir: "~> 1.11", build_embedded: Mix.env() == :prod, start_permanent: Mix.env() == :prod, package: package(), description: description(), source_url: "https://github.com/podium/redis_mutex", deps: deps() ] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [extra_applications: [:logger], mod: {RedisMutex.Application, []}] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [ {:redix, ">= 0.0.0"}, {:elixir_uuid, "~> 1.2"}, # Dev and test dependencies {:ex_doc, "~> 0.29", only: :dev} ] end defp description do """ RedisMutex is a library for creating a Redis lock for a single Redis instance. """ end defp package do [ licenses: ["Apache 2.0"], maintainers: ["Travis Elnicky, Jason Turner"], links: %{ "GitHub" => "https://github.com/podium/redis_mutex" } ] end end