Packages

A protocol for making your custom datastructures orderable (for sorting and comparing.).

Current section

Files

Jump to
orderable mix.exs
Raw

mix.exs

defmodule Orderable.MixProject do
use Mix.Project
@version "0.2.0"
@repo_url "https://github.com/Qqwy/elixir-orderable"
def project do
[
app: :orderable,
version: @version,
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
package: package(),
description: description(),
source_url: @repo_url,
# Docs
name: "Orderable",
docs: [
source_ref: "v#{@version}",
main: "Orderable",
source_url: @repo_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
[
{:stream_data, "~> 0.1", only: :test},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev},
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp package() do
[
# These are the default files included in the package
maintainers: ["Wiebe-Marten Wijnja/Qqwy"],
files: ~w(lib .formatter.exs mix.exs README* ),
licenses: ["Apache 2.0"],
links: %{
"GitHub" => @repo_url
}
]
end
defp description() do
"A protocol for making your custom datastructures orderable (for sorting and comparing.)."
end
end