James Harton
4169e9faec
All checks were successful
continuous-integration/drone/push Build is passing
57 lines
1.5 KiB
Elixir
57 lines
1.5 KiB
Elixir
defmodule IP.Mixfile do
|
|
use Mix.Project
|
|
|
|
@description """
|
|
Represtations and tools for IP addresses and networks.
|
|
"""
|
|
@version "2.0.2"
|
|
|
|
def project do
|
|
[
|
|
app: :ip,
|
|
version: @version,
|
|
elixir: "~> 1.5",
|
|
start_permanent: Mix.env() == :prod,
|
|
package: package(),
|
|
deps: deps(),
|
|
description: @description,
|
|
docs: [
|
|
main: "readme",
|
|
extras: ["README.md", "CHANGELOG.md"]
|
|
]
|
|
]
|
|
end
|
|
|
|
def package do
|
|
[
|
|
maintainers: ["James Harton <james@harton.nz>"],
|
|
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
|
|
[
|
|
{:credo, "~> 1.6", only: ~w[dev test]a, runtime: false},
|
|
{:dialyxir, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
{:doctor, "~> 0.21", only: ~w[dev test]a, runtime: false},
|
|
{:ex_check, "~> 0.15.0", only: ~w[dev test]a, runtime: false},
|
|
{:ex_doc, "~> 0.31", only: ~w[dev test]a, runtime: false},
|
|
{:earmark, "~> 1.4", only: ~w[dev test]a, runtime: false},
|
|
{:git_ops, "~> 2.4", only: ~w[dev test]a, runtime: false}
|
|
]
|
|
end
|
|
end
|