defmodule Minmaxlist.Mixfile do use Mix.Project @version "0.0.3" def project do [ app: :minmaxlist, version: @version, elixir: "~> 1.1", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod, deps: deps, package: package, name: "Minmaxlist", source_url: "https://github.com/seantanly/elixir-minmaxlist", homepage_url: "https://github.com/seantanly/elixir-minmaxlist", description: """ Elixir library extending `Enum.min_by/2`, `Enum.max_by/2` and `Enum.min_max_by/2` to return a list of results instead of just one. """, docs: [ source_ref: "v#{@version}", main: "Minmaxlist", # logo: "path/to/logo.png", extras: ~w(CHANGELOG.md README.md LICENSE.md) ], ] end # Configuration for the OTP application # # Type `mix help compile.app` for more information def application do [applications: [:logger]] 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 [ {:earmark, "~> 0.1", only: :docs}, {:ex_doc, "~> 0.10", only: :docs}, ] end defp package do [ maintainers: ["Sean Tan Li Yang"], licenses: ["MIT"], links: %{github: "https://github.com/seantanly/elixir-minmaxlist"}, files: ~w(lib test) ++ ~w(CHANGELOG.md LICENSE mix.exs README.md), ] end end