-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
73 lines (66 loc) · 2.03 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
defmodule ExSecrets.MixProject do
use Mix.Project
def project do
[
app: :ex_secrets,
version: "0.3.5",
elixir: "~> 1.13",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {ExSecrets.Application, []},
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:telemetry, "~> 0.4.3 or ~> 1.0"},
# Dependecies.
{:httpoison, "~> 1.8"},
{:poison, "~> 3.1"},
{:joken, "~> 2.6"},
{:crc32cer, "~> 0.1.10"},
# Testing and Documentation
{:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false},
{:mox, "~> 1.0", only: :test},
{:ex_doc, "~> 0.14", only: [:dev, :test], runtime: false},
{:ex_check, "~> 0.14.0", only: [:dev, :test], runtime: false},
{:doctor, "~> 0.21.0", only: [:dev, :test]},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:sobelow, "~> 0.11.1", only: [:dev, :test]},
{:excoveralls, "~> 0.10", only: :test},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false}
]
end
defp description() do
"Provider secrets to your app from .env, Azure KeyVault, Azure Managed Identity, Google Secret Manager."
end
defp package() do
[
name: "ex_secrets",
source_url: "https://github.com/zemuldo/ex_secrets",
homepage_url: "https://hexdocs.pm/ex_secrets/readme.html",
files: ~w(lib .formatter.exs mix.exs README* LICENSE* CHANGELOG*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/zemuldo/ex_secrets"}
]
end
defp docs() do
[
source_url: "https://github.com/zemuldo/ex_secrets",
source_ref: "main",
main: "readme",
logo: "logo.png",
extras: ["README.md", "GUIDES.md", "CHANGELOG.md", "LICENSE"]
]
end
end