-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
61 lines (56 loc) · 1.7 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
defmodule Alembix.MixProject do
use Mix.Project
def project do
[
app: :alembix,
version: "0.1.2",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
deps: deps(),
dialyzer: [
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true,
plt_core_path: "priv/plts/",
plt_add_apps: [:mix]
],
package: package(),
description: description()
]
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
[
{:excoveralls, "~> 0.12", only: [:test]},
{:ex_unit_sonarqube, "~> 0.1.2", only: [:dev, :test]},
{:credo, "~> 1.0", runtime: false, only: [:dev]},
{:git_hooks, "~> 0.3", runtime: false, only: [:dev]},
{:dialyxir, "~> 1.0", runtime: false, only: [:dev]},
{:sobelow, "~> 0.9", runtime: false, only: [:dev]},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false, only: [:dev, :test]}
]
end
defp description do
"""
Supercharge your environment variable.
On deployment Alembix can be used to ensure your enviroment variable are not missing.
It can be used to parse the enviroment variables.
"""
end
defp package do
[
# This option is only needed when you don't want to use the OTP application name
name: "alembix",
# These are the default files included in the package
files: ~w(lib .formatter.exs mix.exs README*),
licenses: ["Apache-2.0"],
links: %{"GitHub" => "https://github.com/steffenix/alembix"}
]
end
end