Packages

Easy HAL encoding for easy HATEOAS.

Current section

Files

Jump to
kelly mix.exs
Raw

mix.exs

defmodule Kelly.MixProject do
use Mix.Project
def project do
[
app: :kelly,
version: "1.1.0",
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls],
description: "Easy HAL encoding for easy HATEOAS.",
source_url: "https://git.sr.ht/~nomorepanic/kelly",
package: package(),
deps: deps(),
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.html": :test,
"coveralls.lcov": :test
],
docs: [
extras: ["README.md"]
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, "~> 0.37", only: :dev, runtime: false},
{:excoveralls, "~> 0.18.5", only: :test},
{:plug, "~> 1.17", optional: true},
{:stitch, "~> 1.1.0", only: :test}
]
end
defp package do
[
name: :kelly,
files: ~w(mix.exs lib .formatter.exs README.md LICENSE),
licenses: ["MPL-2.0"],
links: %{
"sourcehut" => "https://git.sr.ht/~nomorepanic/kelly"
}
]
end
defp elixirc_paths(:test), do: ["lib", "test/kelly/support"]
defp elixirc_paths(_), do: ["lib"]
end