-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmix.exs
More file actions
73 lines (66 loc) · 1.52 KB
/
mix.exs
File metadata and controls
73 lines (66 loc) · 1.52 KB
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
defmodule Geolix.TestData.MixProject do
use Mix.Project
@url_changelog "https://hexdocs.pm/geolix_testdata/changelog.html"
@url_github "https://github.com/elixir-geolix/testdata"
@version "0.7.0-dev"
def project do
[
app: :geolix_testdata,
name: "Geolix Test Data Provider",
version: @version,
elixir: "~> 1.17",
deps: deps(),
description: "Geolix Test Data Provider",
dialyzer: dialyzer(),
docs: docs(),
package: package()
]
end
def application do
[
extra_applications: [:inets, :public_key, :ssl]
]
end
defp deps do
[
{:castore, "~> 1.0"},
{:credo, "~> 1.7", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false}
]
end
defp dialyzer do
[
flags: [
:error_handling,
:underspecs,
:unmatched_returns
],
plt_core_path: "plts",
plt_local_path: "plts"
]
end
defp docs do
[
extras: [
"CHANGELOG.md",
LICENSE: [title: "License"],
"README.md": [title: "Overview"]
],
formatters: ["html"],
main: "Geolix.TestData",
source_ref: "v#{@version}",
source_url: @url_github
]
end
defp package do
[
files: ["CHANGELOG.md", "LICENSE", "mix.exs", "README.md", "lib", "priv"],
licenses: ["Apache-2.0"],
links: %{
"Changelog" => @url_changelog,
"GitHub" => @url_github
}
]
end
end