Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Hashids.Mixfile do
use Mix.Project
@version "2.0.2"
def project do
[
app: :hashids,
version: @version,
elixir: "~> 1.0",
deps: deps,
description: description,
package: package,
source_url: "https://github.com/alco/hashids-elixir",
docs: [
main: Hashids,
source_ref: "v#{@version}",
],
]
end
defp description do
"Hashids lets you obfuscate numerical identifiers via reversible mapping."
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "LICENSE", "CHANGELOG.md"],
maintainers: ["Alexei Sholik"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/alco/hashids-elixir",
}
]
end
defp deps do
[
{:benchfella, "~> 0.2", only: :bench},
{:earmark, "> 0.0.0", only: :docs},
{:ex_doc, "~> 0.7", only: :docs},
]
end
end