defmodule Rangeset.MixProject do use Mix.Project def project do [ app: :rangeset, version: "0.1.0", elixir: "~> 1.17", start_permanent: Mix.env() == :prod, deps: deps(), licenses: ["MIT"], source_url: "https://gitlab.com/lordratte/rangeset", description: description(), package: package() ] end defp package() do [ licenses: ["MIT"], links: %{"GitLab" => "https://gitlab.com/lordratte/rangeset"} ] end defp description() do """ This library lets you represent a set of integers as a list of ranges or a "RangeSet" if you will. So instead of MapSet.intersection([1, 2, 3, 4], [3, 4, 5]) == [3, 4] you can have RangeSet.intersection([1..2, 3..4], [3..5]) == [3..4] """ 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 [ {:ex_doc, ">= 0.0.0", 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 end