summaryrefslogtreecommitdiff
path: root/mix.exs
blob: 4c1bea3c45579be9aa0a25f827ccc6dfe9b3000f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
defmodule ExIrc.Mixfile do
  use Mix.Project

  def project do
    [app: :exirc,
      version: "1.0.0",
      elixir: "~> 1.0",
      description: "An IRC client library for Elixir.",
      package: package(),
      test_coverage: [tool: ExCoveralls],
      preferred_cli_env: ["coveralls": :test, "coveralls.detail": :test, "coveralls.html": :test, "coveralls.post": :test],
      deps: deps()]
  end

  # Configuration for the OTP application
  def application do
    [mod: {ExIrc.App, []}]
  end

  defp package do
    [ files: ["lib", "mix.exs", "README.md", "LICENSE"],
      maintainers: ["Paul Schoenfelder"],
      licenses: ["MIT"],
      links: %{ "GitHub" => "https://github.com/bitwalker/exirc",
                "Home Page" => "http://bitwalker.org/exirc"} ]
  end

  defp deps do
    [
      {:ex_doc, "~> 0.14", only: :dev},
      {:excoveralls, "~> 0.5", only: :test},
    ]
  end

end