defmodule NetAddress.MixProject do use Mix.Project def project do [ app: :net_address, version: "0.3.0", elixir: "~> 1.10", start_permanent: Mix.env() == :prod, deps: deps(), test_coverage: [tool: ExCoveralls], preferred_cli_env: [coveralls: :test, "coveralls.detail": :test, "coveralls.post": :test, "coveralls.html": :test], package: [ description: "IP address and Mac address tools", licenses: ["MIT"], files: ~w(lib mix.exs README* LICENSE* VERSIONS*), links: %{"GitHub" => "https://github.com/ityonemo/net_address"} ], docs: [ source_url: "https://github.com/ityonemo/net_address" ] ] end def application do [extra_applications: [:logger]] end defp deps, do: [ {:credo, "~> 1.3", only: [:dev, :test], runtime: false}, {:excoveralls, "~> 0.11", only: :test, runtime: false}, {:ex_doc, "> 0.0.0", only: :dev, runtime: false}, {:dialyxir, "~> 0.5.1", only: :dev, runtime: false}, # for testing ip.random {:stream_data, "~> 0.5.0", only: :test} ] end