heap/mix.exs

71 lines
1.7 KiB
Elixir
Raw Normal View History

2016-03-02 20:29:16 +13:00
defmodule Heap.Mixfile do
use Mix.Project
2023-01-17 10:57:01 +13:00
@version "3.0.0"
2016-03-02 20:29:16 +13:00
def project do
[
app: :heap,
version: @version,
description: description(),
elixir: "~> 1.5",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
docs: [
main: "readme",
extras: ["README.md", "CHANGELOG.md"]
]
]
2016-03-02 20:29:16 +13:00
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
2017-09-26 13:39:49 +13:00
[extra_applications: [:logger]]
2016-03-02 20:29:16 +13:00
end
2016-07-08 09:56:30 +12:00
def description do
"Small composable Heap implementation. Heaps sort elements at insert time."
2016-07-08 09:56:30 +12:00
end
def package do
[
maintainers: ["James Harton <james@harton.nz>"],
2023-01-17 10:53:03 +13:00
licenses: ["HL3-FULL"],
links: %{
2024-02-05 15:51:08 +13:00
"Repository" => "https://harton.dev/james/heap",
"GitHub" => "https://github.com/jimsynz/heap",
"Changelog" => "https://docs.harton.nz/james/heap/changelog.html",
"Sponsor" => "https://github.com/sponsors/jimsynz"
}
]
end
2016-03-02 20:29:16 +13:00
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
opts = [only: ~w[dev test]a, runtime: false]
2016-03-02 20:29:16 +13:00
[
{:credo, "~> 1.7", opts},
{:dialyxir, "~> 1.3", opts},
{:doctor, "~> 0.21", opts},
{:earmark, ">= 0.0.0", opts},
{:ex_check, "~> 0.16", opts},
{:ex_doc, ">= 0.0.0", opts},
{:git_ops, "~> 2.6", opts},
{:mix_audit, "~> 2.1", opts}
2016-03-02 20:29:16 +13:00
]
end
end