2017-11-15 09:32:39 +00:00
|
|
|
defmodule Glicko.Mixfile do
|
2020-01-19 13:58:40 +00:00
|
|
|
use Mix.Project
|
2017-11-15 09:32:39 +00:00
|
|
|
|
2020-01-19 13:58:40 +00:00
|
|
|
@description """
|
|
|
|
Implementation of the Glicko rating system
|
|
|
|
"""
|
2017-11-16 03:49:53 +00:00
|
|
|
|
2020-01-19 13:58:40 +00:00
|
|
|
def project,
|
|
|
|
do: [
|
|
|
|
app: :glicko,
|
|
|
|
version: "0.6.0",
|
2020-01-19 14:43:22 +00:00
|
|
|
elixir: "~> 1.9",
|
2020-01-19 13:58:40 +00:00
|
|
|
start_permanent: Mix.env() == :prod,
|
|
|
|
deps: deps(),
|
|
|
|
package: package(),
|
|
|
|
description: @description
|
|
|
|
]
|
2017-11-15 09:32:39 +00:00
|
|
|
|
2020-01-19 13:58:40 +00:00
|
|
|
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}
|
|
|
|
]
|
2017-11-16 03:49:53 +00:00
|
|
|
|
2020-01-19 13:58:40 +00:00
|
|
|
defp package,
|
|
|
|
do: [
|
|
|
|
name: :glicko,
|
|
|
|
maintainers: ["James Dyson"],
|
|
|
|
licenses: ["MIT"],
|
|
|
|
links: %{"GitHub" => "https://github.com/avitex/elixir-glicko"}
|
|
|
|
]
|
2017-11-15 09:32:39 +00:00
|
|
|
end
|