2017-10-06 14:56:47 +13:00
|
|
|
defmodule IP.Mixfile do
|
|
|
|
use Mix.Project
|
|
|
|
|
2017-10-11 18:11:38 +13:00
|
|
|
@description """
|
|
|
|
Represtations and tools for IP addresses and networks.
|
|
|
|
"""
|
2024-03-14 16:41:38 +13:00
|
|
|
@version "2.0.3"
|
2017-10-11 18:11:38 +13:00
|
|
|
|
2017-10-06 14:56:47 +13:00
|
|
|
def project do
|
|
|
|
[
|
|
|
|
app: :ip,
|
2017-10-12 10:22:58 +13:00
|
|
|
version: @version,
|
2017-10-06 14:56:47 +13:00
|
|
|
elixir: "~> 1.5",
|
2018-09-04 15:25:04 +12:00
|
|
|
start_permanent: Mix.env() == :prod,
|
2017-10-08 19:07:51 +13:00
|
|
|
package: package(),
|
2017-10-11 18:11:38 +13:00
|
|
|
deps: deps(),
|
2024-02-23 19:58:08 +13:00
|
|
|
description: @description,
|
|
|
|
docs: [
|
|
|
|
main: "readme",
|
|
|
|
extras: ["README.md", "CHANGELOG.md"]
|
|
|
|
]
|
2017-10-06 14:56:47 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2017-10-08 19:07:51 +13:00
|
|
|
def package do
|
|
|
|
[
|
2023-01-17 11:00:21 +13:00
|
|
|
maintainers: ["James Harton <james@harton.nz>"],
|
|
|
|
licenses: ["HL3-FULL"],
|
2017-10-08 19:07:51 +13:00
|
|
|
links: %{
|
2024-02-23 19:58:08 +13:00
|
|
|
"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"
|
2017-10-08 19:07:51 +13:00
|
|
|
}
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2017-10-06 14:56:47 +13:00
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
|
|
def application do
|
|
|
|
[
|
2022-10-04 06:00:48 +13:00
|
|
|
extra_applications: [:crypto, :logger]
|
2017-10-06 14:56:47 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
|
|
defp deps do
|
|
|
|
[
|
2021-12-09 11:30:11 +13:00
|
|
|
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
|
2024-02-19 10:33:16 +13:00
|
|
|
{:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
|
|
{:doctor, "~> 0.21", only: ~w[dev test]a, runtime: false},
|
2024-03-01 23:20:19 +13:00
|
|
|
{:ex_check, "~> 0.16.0", only: ~w[dev test]a, runtime: false},
|
2024-05-22 01:13:45 +12:00
|
|
|
{:ex_doc, "~> 0.33", only: ~w[dev test]a, runtime: false},
|
2024-02-19 10:33:16 +13:00
|
|
|
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
2021-12-09 16:18:20 +13:00
|
|
|
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false}
|
2017-10-06 14:56:47 +13:00
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|