-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
108 lines (100 loc) · 3.1 KB
/
Copy pathmix.exs
File metadata and controls
108 lines (100 loc) · 3.1 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
defmodule Dexterity.MixProject do
use Mix.Project
@version "0.1.0"
@repo_url "https://github.com/nshkrdotcom/dexterity"
def project do
[
app: :dexterity,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
name: "Dexterity",
source_url: @repo_url,
homepage_url: @repo_url,
docs: docs(),
dialyzer: dialyzer()
]
end
def application do
[
extra_applications: [:logger],
mod: {Dexterity.Application, []}
]
end
defp description do
"Authoritative, ranked, token-budgeted codebase context for Elixir agents."
end
defp package do
[
name: "dexterity",
licenses: ["MIT"],
links: %{"GitHub" => @repo_url},
files: ~w(lib assets examples mix.exs README.md LICENSE CHANGELOG.md guides)
]
end
defp deps do
[
{:exqlite, "~> 0.39"},
{:file_system, "~> 1.1"},
{:nx, "~> 0.13", optional: true},
{:tiktoken, "~> 0.4", optional: true},
{:ex_doc, "~> 0.40", only: :dev, runtime: false},
{:jason, "~> 1.4"},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
defp dialyzer do
[
plt_add_apps: [:mix, :ex_unit],
flags: [:error_handling, :missing_return, :underspecs]
]
end
defp docs do
[
main: "guide",
logo: "assets/dexterity.svg",
extras: [
"README.md": [filename: "guide", title: "Guide"],
"examples/README.md": [filename: "examples", title: "Examples"],
"guides/overview.md": [title: "Overview"],
"guides/quickstart.md": [title: "Quickstart"],
"guides/architecture.md": [title: "Architecture"],
"guides/kernel_surfaces.md": [title: "Kernel Surfaces"],
"guides/api_reference.md": [title: "API Reference"],
"guides/configuration.md": [title: "Configuration"],
"guides/mcp.md": [title: "MCP Server"],
"guides/mix_tasks.md": [title: "Mix Tasks"],
"guides/testing_and_quality.md": [title: "Testing + Quality"],
"guides/operations.md": [title: "Operations"],
"guides/buildout_playbook.md": [title: "Buildout Playbook"],
"guides/roadmap.md": [title: "Roadmap"],
"CHANGELOG.md": [title: "Changelog"],
LICENSE: [title: "License"]
],
groups_for_extras: [
"Dexterity Guide": ["README.md"],
Examples: ["examples/README.md"],
"Developer Guides": [
"guides/overview.md",
"guides/quickstart.md",
"guides/architecture.md",
"guides/kernel_surfaces.md",
"guides/api_reference.md",
"guides/configuration.md",
"guides/mcp.md",
"guides/mix_tasks.md",
"guides/testing_and_quality.md",
"guides/operations.md",
"guides/buildout_playbook.md",
"guides/roadmap.md"
],
Maintenance: ["CHANGELOG.md", "LICENSE"]
],
skip_undefined_reference_warnings_on: ["CHANGELOG.md"]
]
end
end