-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
66 lines (58 loc) · 1.65 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
defmodule ConsulConfigProvider.MixProject do
use Mix.Project
def project do
[
app: :consul_config_provider,
version: "0.2.4",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
# Docs
name: "Consul Config Provider",
source_url: "https://github.com/blueshift-labs/consul_config_provider",
homepage_url: "https://github.com/blueshift-labs/consul_config_provider",
docs: docs()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:telemetry, "~> 1.1"},
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
{:jason, "~> 1.3"},
{:mox, "~> 1.0", only: :test},
{:stream_data, "~> 0.5", only: :test},
{:yaml_elixir, "~> 2.9"},
{:finch, "~> 0.12", optional: true}
]
end
defp description() do
"A simple somewhat opinionated consul config provider for elixir 1.9+ releases."
end
defp package() do
[
name: "consul_config_provider",
files: ~w(lib doc .formatter.exs mix.exs README* LICENSE* CHANGELOG.md),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/blueshift-labs/consul_config_provider"},
source_url: "https://github.com/blueshift-labs/consul_config_provider"
]
end
defp docs() do
[
# The main page in the docs
main: "readme",
source_ref: "master",
# logo: "path/to/logo.png",
extras: ["README.md", "CHANGELOG.md"]
]
end
end