-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
79 lines (72 loc) · 1.76 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
defmodule HushAwsSecretsManager.MixProject do
use Mix.Project
@version "1.1.0"
@source_url "https://github.com/gordalina/hush_aws_secrets_manager"
def project do
[
app: :hush_aws_secrets_manager,
version: @version,
elixir: "~> 1.11",
deps: deps(),
docs: docs(),
description: description(),
package: package(),
start_permanent: Mix.env() == :prod,
source_url: @source_url,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.github": :test,
"coveralls.html": :test,
"coveralls.json": :test
],
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"}
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_aws, "~> 2.0"},
{:ex_aws_secretsmanager, "~> 2.0"},
{:hackney, "~> 1.17"},
{:hush, "~> 1.0"},
{:mox, "~> 1.1", only: :test},
{:ex_check, "~> 0.12", only: :dev, runtime: false},
{:credo, "~> 1.4", only: :dev, runtime: false},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:sobelow, "~> 0.10", only: :dev, runtime: false},
{:ex_doc, "~> 0.22", only: :dev, runtime: false},
{:excoveralls, "~> 0.12", only: :test}
]
end
defp description do
"""
An AWS Secrets Manager Provider for Hush
"""
end
defp package() do
[
name: "hush_aws_secrets_manager",
licenses: ["Apache-2.0"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
main: "readme",
extras: [
"README.md",
"CHANGELOG.md"
],
source_ref: "v#{@version}",
source_url: @source_url
]
end
end