-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
103 lines (96 loc) · 3.32 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
defmodule Senzing.MixProject do
use Mix.Project
@version "0.0.0-dev"
def project do
[
app: :senzing,
version: @version,
elixir: "~> 1.17",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: &docs/0,
source_url: "https://github.com/sustema-ag/senzing-elixir",
description: "Elixir NIF for Senzing Entity Matching",
package: package(),
test_coverage: [tool: ExCoveralls],
dialyzer: [plt_add_apps: [:mix]],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
"coveralls.github": :test,
"coveralls.multiple": :test
]
]
end
defp elixirc_paths(env)
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_env), do: ["lib"]
def application do
[
extra_applications: [:logger],
mod: {Senzing.Application, []}
]
end
defp package do
[
maintainers: ["Jonatan Männchen"],
files: [
"lib/**/*.{ex,tsv}",
"LICENSE*",
"mix.exs",
"README*"
],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/sustema-ag/senzing-elixir"}
]
end
defp docs do
[
source_ref: "v#{@version}",
main: "Senzing",
logo: "assets/logo-short.svg",
assets: %{"assets" => "assets"},
groups_for_docs: [
# Config
"Functions: Configuration Object Management": &(&1[:type] == :configuration_object_management),
"Functions: Datasource Management": &(&1[:type] == :datasource_management),
# Engine
"Functions: Initialization": &(&1[:type] == :initialization),
"Functions: Add Records": &(&1[:type] == :add_records),
"Functions: Replace Records": &(&1[:type] == :replace_records),
"Functions: Reevaluating": &(&1[:type] == :reevaluating),
"Functions: Redo Processing": &(&1[:type] == :redo_processing),
"Functions: Deleting Records": &(&1[:type] == :deleting_records),
"Functions: Getting Entities and Records": &(&1[:type] == :getting_entities_and_records),
"Functions: Searching for Entities": &(&1[:type] == :searching_for_entities),
"Functions: Finding Paths": &(&1[:type] == :finding_paths),
"Functions: Finding Networks": &(&1[:type] == :finding_networks),
"Functions: Why": &(&1[:type] == :why),
"Functions: How": &(&1[:type] == :how),
"Functions: Reporting": &(&1[:type] == :reporting),
"Functions: Cleanup": &(&1[:type] == :cleanup),
"Functions: Statistics": &(&1[:type] == :statistics)
]
]
end
defp deps do
[
{:credo, "~> 1.7", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: :dev, runtime: false},
{:doctest_formatter, "~> 0.3.0", only: :dev, runtime: false},
{:excoveralls, "~> 0.18", only: :test},
{:ex_doc, "~> 0.34.0", only: :dev, runtime: false},
{:gen_stage, "~> 1.2", optional: true},
{:makeup_json, "~> 0.1", only: :dev, runtime: false},
{:nimble_parsec, "~> 1.4"},
{:styler, "~> 1.0", runtime: false, only: :dev},
{:telemetry, "~> 1.2"},
{:telemetry_poller, "~> 1.1"},
{:telemetry_registry, "~> 0.3.2"},
{:zigler, "~> 0.13"}
]
end
end