Packages

Pure Elixir implementation of the Glicko-2 rating system for two-player games

Current section

Files

Jump to

mix.exs

defmodule GlickoRatingSystem.MixProject do
use Mix.Project
@version "1.0.0"
@source_url "https://github.com/sashite/glicko_rating_system.ex"
def project do
[
app: :glicko_rating_system,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "GlickoRatingSystem",
description:
"Pure Elixir implementation of the Glicko-2 rating system for two-player games",
source_url: @source_url,
package: package(),
dialyzer: [plt_local_path: "priv/plts"],
test_coverage: [threshold: 100, ignore_modules: []]
]
end
def application do
[]
end
defp deps do
[
{:benchee, "~> 1.5", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.40", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url},
files: ~w(lib .formatter.exs mix.exs README.md LICENSE)
]
end
end