1
0
mirror of https://github.com/avitex/elixir-glicko synced 2024-11-14 23:49:58 +00:00
glicko-elixir/mix.exs
Mikael Muszynski db54b10e93 Change multi-line do: function definitions to do (#3)
Change the cases where a `do:` is followed by a `mix format` mandated
line break, or if the expression following the `do:` would span multiple
lines anyway.

The only exception to the rule above is the first change in the
changeset, as this was done for the function style of `initial_rating`
to be consistent with `initial_rating_deviation`.
2020-01-19 14:54:18 +00:00

37 lines
728 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.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
description: @description
]
end
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}
]
end
defp package do
[
name: :glicko,
maintainers: ["James Dyson"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/avitex/elixir-glicko"}
]
end
end