mirror of
https://github.com/avitex/elixir-glicko
synced 2024-11-14 23:49:58 +00:00
e22c34f2ff
Add formatter configuration and run `mix format`. Additionally, manually replace leading tabs in documentation examples with four spaces.
34 lines
716 B
Elixir
34 lines
716 B
Elixir
defmodule Glicko.Mixfile do
|
|
use Mix.Project
|
|
|
|
@description """
|
|
Implementation of the Glicko rating system
|
|
"""
|
|
|
|
def project,
|
|
do: [
|
|
app: :glicko,
|
|
version: "0.6.0",
|
|
elixir: "~> 1.5",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
package: package(),
|
|
description: @description
|
|
]
|
|
|
|
defp deps,
|
|
do: [
|
|
{:inch_ex, "~> 0.5", only: :docs},
|
|
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
|
|
{:credo, "~> 0.8", only: [:dev, :test], runtime: false}
|
|
]
|
|
|
|
defp package,
|
|
do: [
|
|
name: :glicko,
|
|
maintainers: ["James Dyson"],
|
|
licenses: ["MIT"],
|
|
links: %{"GitHub" => "https://github.com/avitex/elixir-glicko"}
|
|
]
|
|
end
|