1defmodule UUID.Mixfile do
2  use Mix.Project
3
4  @version "1.1.8"
5
6  def project do
7    [app: :uuid,
8     name: "UUID",
9     version: @version,
10     elixir: "~> 1.0",
11     docs: [extras: ["README.md", "CHANGELOG.md"],
12            main: "readme",
13            source_ref: "v#{@version}"],
14     source_url: "https://github.com/zyro/elixir-uuid",
15     description: description(),
16     package: package()]
17  end
18
19  # Application configuration.
20  def application do
21    []
22  end
23
24  # List of dependencies.
25  defp deps do
26    [{:ex_doc, "~> 0.16", only: :dev},
27     {:earmark, "~> 1.2", only: :dev},
28     {:benchfella, "~> 0.3", only: :dev}]
29  end
30
31  # Description.
32  defp description do
33    """
34    UUID generator and utilities for Elixir.
35    """
36  end
37
38  # Package info.
39  defp package do
40    [files: ["lib", "mix.exs", "README.md", "LICENSE"],
41     maintainers: ["Andrei Mihu"],
42     licenses: ["Apache 2.0"],
43     links: %{"GitHub" => "https://github.com/zyro/elixir-uuid"}]
44  end
45
46end
47