2017-11-15 09:32:39 +00:00
|
|
|
defmodule Glicko.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
2017-11-16 03:49:53 +00:00
|
|
|
@description """
|
|
|
|
Implementation of the Glicko rating system
|
|
|
|
"""
|
|
|
|
|
2017-11-15 09:32:39 +00:00
|
|
|
def project, do: [
|
|
|
|
app: :glicko,
|
2017-11-29 03:04:48 +00:00
|
|
|
version: "0.6.0",
|
2017-11-15 09:32:39 +00:00
|
|
|
elixir: "~> 1.5",
|
|
|
|
start_permanent: Mix.env == :prod,
|
|
|
|
deps: deps(),
|
2017-11-16 03:49:53 +00:00
|
|
|
package: package(),
|
|
|
|
description: @description,
|
2017-11-15 09:32:39 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
defp deps, do: [
|
2017-11-16 03:49:53 +00:00
|
|
|
{:inch_ex, "~> 0.5", only: :docs},
|
2017-11-15 09:32:39 +00:00
|
|
|
{:ex_doc, "~> 0.16", only: :dev, runtime: false},
|
|
|
|
{:credo, "~> 0.8", only: [:dev, :test], runtime: false},
|
|
|
|
]
|
2017-11-16 03:49:53 +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
|