-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmix.exs
60 lines (53 loc) · 1.38 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
defmodule OpenFeature.MixProject do
use Mix.Project
def project do
[
app: :open_feature,
version: "0.1.1",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
test_paths: ["test/unit", "test/integration"],
deps: deps(),
preferred_cli_env: [
test: :test,
docs: :docs,
"hex.publish": :docs
],
# Docs
name: "OpenFeature",
source_url: "https://github.com/open-feature/elixir-sdk",
homepage_url: "https://openfeature.dev",
docs: docs(),
# Hex
description: "OpenFeature SDK for Elixir",
package: package()
]
end
def application do
[
extra_applications: [:logger],
mod: {OpenFeature.Application, []}
]
end
defp deps do
[
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: :docs, runtime: false},
{:mimic, "~> 1.9", only: :test}
]
end
defp docs do
[main: "OpenFeature", extras: ["README.md", "LICENSE", "CONTRIBUTING.md", "CHANGELOG.md"]]
end
defp package do
[
maintainers: ["Eduardo Cunha"],
licenses: ["Apache-2.0"],
links: %{
"GitHub" => "https://github.com/open-feature/elixir-sdk",
"Changelog" => "https://hexdocs.pm/open_feature/changelog.html"
}
]
end
end