defmodule HumanIDs.MixProject do use Mix.Project def project do [ app: :humanids, description: description(), package: package(), version: "0.2.0", elixir: "~> 1.18", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], aliases: aliases() ] end def application, do: [] defp deps do [ {:credo, "~> 1.7", only: :dev}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:benchee, "~> 1.4", only: :dev}, {:ex_doc, "~> 0.38", only: :dev}, {:excoveralls, "~> 0.18.5", only: [:dev, :test]}, {:styler, "~> 1.6", only: [:dev, :test], runtime: false} ] end defp aliases do [ quality: ["format", "credo --strict", "dialyzer"], "test.coverage": ["test --cover"] ] end defp description do """ Generate Human Readable IDs """ end defp package do [ files: [ "lib", "LICENSE", "mix.exs", "README.md" ], maintainers: ["Martin Wiso"], licenses: ["Apache-2.0"], links: %{ "GitHub" => "https://github.com/tgrk/humanids", "Issues" => "https://github.com/tgrk/humanids/issues" } ] end end