defmodule IP.Mixfile do use Mix.Project @description """ Tools for working with IP addresses and networks. """ @version "2.1.3" def project do [ app: :ip, version: @version, elixir: "~> 1.5", start_permanent: Mix.env() == :prod, package: package(), dialyzer: [ plt_add_apps: [:mix, :req, :saxy] ], deps: deps(), description: @description, docs: [ main: "readme", extras: ["README.md", "CHANGELOG.md"] ] ] end def package do [ maintainers: ["James Harton "], licenses: ["HL3-FULL"], links: %{ "Source" => "https://harton.dev/james/ip", "GitHub" => "https://github.com/jimsynz/ip", "Changelog" => "https://docs.harton.nz/james/ip/changelog.html", "Sponsor" => "https://github.com/sponsors/jimsynz" } ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:crypto, :logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:saxy, "~> 1.6"}, {:credo, "~> 1.6", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:doctor, "~> 0.22", only: [:dev, :test], runtime: false}, {:ex_check, "~> 0.16", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.37", only: [:dev, :test], runtime: false}, {:earmark, "~> 1.4", only: [:dev, :test], runtime: false}, {:git_ops, "~> 2.4", only: [:dev, :test], runtime: false}, {:req, "~> 0.5", only: [:dev, :test], runtime: false} ] end end