Packages

Cache built via mnesia which support expiration and cluster.

Current section

Files

Jump to
mcc mix.exs
Raw

mix.exs

defmodule Mcc.MixProject do
use Mix.Project
def project do
[
app: :mcc,
version: "1.2.0",
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [tool: ExCoveralls],
dialyzer: [
paths: ["_build/dev/lib/mcc/ebin"],
flags: [:unmatched_returns, :error_handling, :race_conditions, :no_opaque],
plt_add_apps: [:mnesia]
],
deps: deps(),
description: description(),
package: package()
]
end
def application do
[
extra_applications: [:logger],
mod: {Mcc.Application, []}
]
end
defp deps do
[
{:credo, "~> 1.0", only: [:dev, :test]},
{:ex_doc, "~> 0.19", only: [:dev, :test]},
{:excoveralls, "~> 0.10", only: [:test]},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:porcelain, "~> 2.0", only: [:test]}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp description do
"Cache built via mnesia which support expiration and cluster."
end
defp package do
[
name: "mcc",
maintainers: ["redink"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/ArcBlock/mcc"}
]
end
# __end_of_module__
end