defmodule Nosedrum.MixProject do use Mix.Project def project do [ app: :nosedrum, version: "0.6.0", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, source_url: "https://github.com/jchristgit/nosedrum", homepage_url: "https://github.com/jchristgit/nosedrum", deps: deps(), docs: docs(), package: package() ] end def package do [ description: "A command framework for nostrum", licenses: ["ISC"], links: %{ "Documentation" => "https://hexdocs.pm/nosedrum", "GitHub" => "https://github.com/jchristgit/nosedrum" }, maintainers: ["Johannes Christ"] ] end defp docs do [ # ??? source_ref: "master", groups_for_functions: [ Evaluation: &(&1[:section] == :evaluation), Predicates: &(&1[:section] == :predicates) ], groups_for_modules: [ "Application Commands": [ Nosedrum.ApplicationCommand, Nosedrum.Storage, Nosedrum.Storage.Dispatcher ], Functionality: [Nosedrum.Converters, Nosedrum.Helpers, Nosedrum.TextCommand.Predicates], Behaviours: [ Nosedrum.TextCommand, Nosedrum.TextCommand.Invoker, Nosedrum.MessageCache, Nosedrum.TextCommand.Storage ], Implementations: [ Nosedrum.TextCommand.Invoker.Split, Nosedrum.MessageCache.Agent, Nosedrum.MessageCache.ETS, Nosedrum.TextCommand.Storage.ETS ] ] ] end # Run "mix help compile.app" to learn about applications. def application do [ applications: [], extra_applications: [:nostrum] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:nostrum, "~> 0.8.0"}, # {:nostrum, "Kraigie/nostrum"}, # {:nostrum, path: "../nostrum"}, {:ex_doc, "~> 0.23", only: :dev, runtime: false}, {:credo, "~> 1.4", only: [:dev, :test], runtime: false}, {:benchee, "~> 1.0", only: :dev, optional: true, runtime: false}, {:dialyxir, "~> 1.3", only: [:dev], runtime: false} ] end end