Current section

Files

Jump to
map_sorter mix.exs
Raw

mix.exs

defmodule MapSorter.Mixfile do
use Mix.Project
def project() do
[
app: :map_sorter,
version: "0.1.15",
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
name: "Map Sorter",
source_url: source_url(),
description: description(),
package: package(),
deps: deps(),
dialyzer: [plt_add_apps: [:mix]]
]
end
defp source_url() do
"https://github.com/RaymondLoranger/map_sorter"
end
defp description() do
"""
Sorts a list of maps as per a list of sort specs
(ascending/descending keys).
Also works for keywords or structures implementing the Access behaviour.
"""
end
defp package() do
[
files: ["lib", "mix.exs", "README*"],
maintainers: ["Raymond Loranger"],
licenses: ["MIT"],
links: %{"GitHub" => source_url()}
]
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
[
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, "~> 0.14", only: :dev, runtime: false},
{:dialyxir, "~> 0.5", only: :dev, runtime: false}
]
end
end