defmodule LibRedis.MixProject do use Mix.Project @name "lib_redis" @version "0.1.1" @repo_url "https://github.com/tt67wq/lib-redis" @description "A simple wrap of redix, support pool and cluster" def project do [ app: :lib_redis, version: @version, elixir: "~> 1.14", start_permanent: Mix.env() == :prod, deps: deps(), source_url: @repo_url, name: @name, package: package(), description: @description ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:redix, "~> 1.2"}, {:nimble_pool, "~> 0.2"}, {:nimble_options, "~> 1.0"}, {:ex_doc, "~> 0.29", only: :dev, runtime: false} # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} ] end defp package do [ licenses: ["MIT"], links: %{ "GitHub" => @repo_url } ] end end