-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmix.exs
47 lines (41 loc) · 1.26 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
defmodule DeferredConfig.Mixfile do
use Mix.Project
def project do
[app: :deferred_config,
version: "0.1.1",
elixir: "~> 1.4-rc",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
consolidate_protocols: Mix.env != :test, # proto impl tests
deps: deps(),
name: "DeferredConfig",
package: package(),
description: description(),
source_url: "https://github.com/mrluc/deferred_config",
homepage_url: "https://github.com/mrluc/deferred_config",
docs: [main: "readme",
extras: ["README.md"]]
]
end
def description do
"Seamless runtime config with one line of code. "<>
"No special accessors or mappings. Full support for " <>
"'{:system...} tuple' and '{m,f,a}' runtime config patterns."
end
def package do
[
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Luc Fueston"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/mrluc/deferred_config",
"Docs" => "https://hexdocs.pm/deferred_config/readme.html"}
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[{:ex_doc, "~> 0.14", only: :dev},
{:credo, "~> 0.5", only: [:dev, :test]}]
end
end