Packages

A Cloak cipher backed by HashiCorp Vault Transit, with a Req plugin for Vault authentication.

Current section

Files

Jump to
Raw

mix.exs

defmodule CloakVault.MixProject do
use Mix.Project
@name "CloakVault"
@version "1.0.2"
@repo_url "https://github.com/starfish-codes/cloak-vault"
def project do
[
app: :cloak_vault,
version: @version,
elixir: "~> 1.16",
start_permanent: Mix.env() == :prod,
description:
"A Cloak cipher backed by HashiCorp Vault Transit, with a Req plugin for Vault authentication.",
package: package(),
deps: deps(),
docs: docs(),
test_coverage: [tool: ExCoveralls]
]
end
def application do
[
extra_applications: [:logger]
]
end
def cli do
[
preferred_envs: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.json": :test
]
]
end
defp deps do
[
{:cloak, "~> 1.1"},
{:req, "~> 0.5"},
# Quality & tooling
{:excoveralls, "~> 0.10", only: :test},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: [:dev], runtime: false}
]
end
defp package do
[
links: %{"GitHub" => @repo_url},
licenses: ["MIT"]
]
end
defp docs do
[
source_ref: "v#{@version}",
source_url: @repo_url,
main: @name
]
end
end