defmodule Wombat.MixProject do use Mix.Project def project do [ app: :wombat_discovery, version: "1.0.2", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), description: description(), package: package(), dialyzer: [flags: [:error_handling, :race_conditions, :underspecs]], docs: docs() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {WombatDiscovery.Application, []} ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, ">= 0.0.0", only: :dev}, {:mock, "~> 0.3.0", only: :test}, {:dialyxir, "~> 0.5", only: [:dev], runtime: false} ] end defp description() do "Make wombat discover the node after host change. Visit our repository for more information: https://github.com/esl/wombat-discovery" end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "wombat_discovery", # These are the default files included in the package maintainers: ["Erlang Solutions Ltd"], licenses: ["MIT"], links: %{} ] end defp docs do [ main: "readme", formatters: ["html"], groups_for_modules: [], extras: [ "README.md" ], groups_for_extras: [Honeybee: ~r/guides\/honeybee\/.?/] ] end end