-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathmix.exs
More file actions
110 lines (101 loc) · 2.9 KB
/
Copy pathmix.exs
File metadata and controls
110 lines (101 loc) · 2.9 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
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
104
105
106
107
108
109
110
defmodule LLMDB.MixProject do
use Mix.Project
@version "2026.7.0"
@source_url "https://github.com/agentjido/llm_db"
@description "LLM model metadata catalog with fast, capability-aware lookups."
def project do
[
app: :llm_db,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
aliases: aliases(),
description: @description,
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
test_coverage: [summary: [threshold: 50]],
# Dialyzer configuration
dialyzer: [
plt_add_apps: [:mix]
],
# Documentation
name: "LLM DB",
source_url: @source_url,
homepage_url: @source_url,
source_ref: @version,
docs: [
main: "readme",
extras: [
"README.md",
"guides/consumer-integration.md",
"guides/model-spec-formats.md",
"guides/pricing-and-billing.md",
"guides/schema-system.md",
"guides/sources-and-engine.md",
"guides/runtime-filters.md",
"guides/using-the-data.md",
"guides/release-process.md",
"CHANGELOG.md"
],
groups_for_extras: [
Guides: ~r/guides\/.+\.md/
]
]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
mod: {LLMDB.Application, []},
extra_applications: [:logger]
]
end
defp deps do
[
{:zoi, "~> 0.10"},
{:jason, "~> 1.4"},
{:toml, "~> 0.7"},
{:req, "~> 0.5"},
{:dotenvy, "~> 1.1"},
{:plug, "~> 1.16", only: :test},
{:meck, "~> 1.0", only: :test},
{:ex_doc, "~> 0.31", only: :dev, runtime: false},
{:git_ops, "~> 2.6", only: :dev, runtime: false},
{:git_hooks, "~> 0.8", only: :dev, runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:usage_rules, "~> 1.0", only: :dev, runtime: false},
{:igniter, "~> 0.7", optional: true}
]
end
defp package do
[
description: @description,
licenses: ["Apache-2.0"],
maintainers: ["Mike Hostetler"],
links: %{
"Changelog" => "https://hexdocs.pm/llm_db/changelog.html",
"Discord" => "https://agentjido.xyz/discord",
"Documentation" => "https://hexdocs.pm/llm_db",
"GitHub" => @source_url,
"Website" => "https://agentjido.xyz"
},
files:
~w(config guides lib priv/llm_db/snapshot.json mix.exs LICENSE README.md CHANGELOG.md AGENTS.md usage-rules.md .formatter.exs)
]
end
defp aliases do
[
setup: ["deps.get"],
quality: [
"format --check-formatted",
"compile --warnings-as-errors",
"credo --min-priority higher",
"dialyzer"
],
q: ["quality"]
]
end
end