defmodule Irc.MixProject do use Mix.Project def project do [ app: :irc, version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), name: "IRC", source_url: "https://github.com/hrefhref/elixir-irc", homepage_url: "https://hrefhref.github.io/elixir-irc", docs: [ main: "readme", extras: ["README.md"], groups_for_modules: [ "Data": [Irc.Mask, Irc.User, Irc.Line, Irc.Store, ~r/Irc\.Store.*/, Irc.Context, Irc.Addressable], "Connection": [Irc.Connection, Irc.ConnectionSocket, Irc.STS, ~r/Irc\.Connection*/], "Clients": [Irc.Shout, Irc.Client, ~r/Irc\.Client.*/], "Servers": [Irc.Server, Irc.TS6, ~r/Irc\.(Server|TS6).*/], "Parser": [Irc.Parser, ~r/Irc\.Parser.*/] ], nest_modules_by_prefix: [Irc.Parser, Irc.Client, Irc.Client.Command, Irc.Store, Irc.TS6, Irc.Server] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :ssl], mod: {Irc.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:backoff, github: "ferd/backoff"}, {:ex_doc, "~> 0.21", only: :dev, runtime: false}, {:memento, "~> 0.3.1"} ] end end