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 14:54:18 +00:00
|
|
|
def project do
|
|
|
|
[
|
2020-01-19 13:58:40 +00:00
|
|
|
app: :glicko,
|
2024-06-10 11:56:17 +00:00
|
|
|
version: "0.8.1",
|
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
|
|
|
|
]
|
2020-01-19 14:54:18 +00:00
|
|
|
end
|
2017-11-15 09:32:39 +00:00
|
|
|
|
2020-01-19 14:54:18 +00:00
|
|
|
defp deps do
|
|
|
|
[
|
2020-01-27 04:40:17 +00:00
|
|
|
{:inch_ex, "~> 2.0", only: [:dev, :docs]},
|
2020-02-04 23:07:28 +00:00
|
|
|
{:ex_doc, "~> 0.21", only: :dev, runtime: false},
|
2020-04-20 15:04:59 +00:00
|
|
|
{:credo, "~> 1.3", only: [:dev, :test], runtime: false}
|
2020-01-19 13:58:40 +00:00
|
|
|
]
|
2020-01-19 14:54:18 +00:00
|
|
|
end
|
2017-11-16 03:49:53 +00:00
|
|
|
|
2020-01-19 14:54:18 +00:00
|
|
|
defp package do
|
|
|
|
[
|
2020-01-19 13:58:40 +00:00
|
|
|
name: :glicko,
|
|
|
|
maintainers: ["James Dyson"],
|
|
|
|
licenses: ["MIT"],
|
|
|
|
links: %{"GitHub" => "https://github.com/avitex/elixir-glicko"}
|
|
|
|
]
|
2020-01-19 14:54:18 +00:00
|
|
|
end
|
2017-11-15 09:32:39 +00:00
|
|
|
end
|