Packages

A multilock for redis cluster using lua scripts and given key(s) hopefully with shard key(s)

Current section

Files

Jump to

mix.exs

defmodule RedisClusterMultilock.MixProject do
use Mix.Project
def project do
[
app: :redis_cluster_multilock,
version: "0.1.0",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_add_deps: true,
flags: [:error_handling, :race_conditions, :no_return]
],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [coveralls: :test],
description: description(),
package: package(),
# Docs
name: "Redis Cluster MultiLock",
source_url: "https://github.com/blueshift-labs/redis_cluster_multilock",
homepage_url: "https://github.com/blueshift-labs/redis_cluster_multilock",
docs: [
# The main page in the docs
main: "RedisClusterMultilock",
# logo: "path/to/logo.png",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {RedisClusterMultilock.Application, []}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:eredis_cluster, "~> 0.5.12", runtime: false},
{:dialyxir, "~> 1.0.0-rc.6", only: :dev, runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false, override: true},
{:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
{:excoveralls, "~> 0.10", only: :test},
{:mox, "~> 0.5", only: :test},
{:stream_data, "~> 0.1", only: :test}
]
end
defp description() do
"A multilock for redis cluster using lua scripts and given key(s) hopefully with shard key(s)"
end
defp package() do
[
name: "redis_cluster_multilock",
files: ~w(lib doc .formatter.exs mix.exs README* LICENSE*),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/blueshift-labs/redis_cluster_multilock"}
]
end
end