-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmix.exs
82 lines (73 loc) · 1.77 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
80
81
82
defmodule ExAzureKeyVault.MixProject do
use Mix.Project
@version "2.2.1"
@github_url "https://github.com/RamonPage/ex_azure_key_vault"
def project do
[
app: :ex_azure_key_vault,
name: "ex_azure_key_vault",
source_url: @github_url,
version: @version,
elixir: "~> 1.11",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(),
aliases: aliases(),
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
elixirc_paths: elixirc_paths(Mix.env())
]
end
def application do
[
extra_applications: [:logger, :httpoison]
]
end
defp description do
"""
Elixir wrapper for Azure Key Vault REST API
"""
end
defp package do
[
files: ["lib", "mix.exs", "CHANGELOG*", "README*", "LICENSE*"],
maintainers: ["Ramon Bispo"],
licenses: ["MIT"],
links: %{"GitHub" => @github_url}
]
end
defp docs do
[
main: "docs",
source_ref: "v#{@version}",
extras: ["DOCS.md"]
]
end
defp deps do
[
{:httpoison, "~> 2.1.0"},
{:joken, "~> 2.6.0"},
{:jason, "~> 1.4.0"},
{:dialyxir, "~> 1.0", only: :dev, runtime: false},
{:ex_doc, "~> 0.34.2", only: :dev, runtime: false},
{:mock, "~> 0.3.2", only: :test},
{:excoveralls, "~> 0.16.0", only: :test}
]
end
defp aliases do
[
setup: ["deps.get"],
build: ["compile --force", "docs"]
]
end
defp elixirc_paths(:build), do: ["lib", "build"]
defp elixirc_paths(_), do: ["lib"]
end