Packages

Enhanced map operations for Elixir with set-like functions including intersection, difference, symmetric difference, and reconciliation.

Current section

Files

Jump to
ex_bags mix.exs
Raw

mix.exs

defmodule ExBags.MixProject do
use Mix.Project
def project do
[
app: :ex_bags,
version: "0.2.1",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
source_url: "https://github.com/thanos/exbags",
homepage_url: "https://github.com/thanos/exbags",
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
aliases: aliases()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.38", only: :dev, runtime: false},
{:stream_data, "~> 1.2", only: :test},
{:excoveralls, "~> 0.18", only: :test},
{:benchee, "~> 1.4", only: :dev}
]
end
defp description do
"Enhanced map operations for Elixir with set-like functions including intersection, difference, symmetric difference, and reconciliation."
end
defp package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["thanos vassilakis"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/thanos/exbags"
}
]
end
# Custom mix tasks
defp aliases do
[
benchmark: "run priv/scripts/benchmarks/benchmarks.exs",
"benchmark.intersect": "run priv/scripts/benchmarks/intersect_benchmark.exs",
"benchmark.stream": "run priv/scripts/benchmarks/stream_benchmark.exs",
"benchmark.all": "run priv/scripts/benchmarks/run_benchmarks.exs",
"docs.readme": "run priv/scripts/copy_moduledoc_to_readme.exs"
]
end
end