defmodule Glicko.Mixfile do use Mix.Project @description """ Implementation of the Glicko rating system """ def project do [ app: :glicko, version: "0.8.0", elixir: "~> 1.9", start_permanent: Mix.env() == :prod, deps: deps(), package: package(), description: @description ] end defp deps do [ {:inch_ex, "~> 2.0", only: [:dev, :docs]}, {:ex_doc, "~> 0.21", only: :dev, runtime: false}, {:credo, "~> 1.3", 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