-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
81 lines (71 loc) · 2.12 KB
/
Copy pathmix.exs
File metadata and controls
81 lines (71 loc) · 2.12 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
defmodule Dspex.MixProject do
use Mix.Project
@source_url "https://github.com/nshkrdotcom/ds_ex"
def project do
[
app: :dspex,
version: "0.1.0",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
elixirc_options: elixirc_options(Mix.env()),
dialyzer: [
plt_add_apps: [:mix],
ignore_warnings: ".dialyzer_ignore.exs"
],
preferred_cli_env: [
"test.mock": :test,
"test.fallback": :test,
"test.live": :test
]
]
end
defp elixirc_options(:test), do: [warnings_as_errors: false]
defp elixirc_options(_), do: []
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Dspex.Application, []},
registered: [
ElixirML.Process.Orchestrator,
ElixirML.Process.SchemaRegistry,
ElixirML.Process.VariableRegistry,
ElixirML.Process.ResourceManager,
ElixirML.Process.ProgramSupervisor
]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# Infrastructure & Observability
{:foundation, "~> 0.1.5"},
# Core - JSON serialization (jason already included in foundation)
# {:jason, "~> 1.4"}, # Removed - provided by Foundation
# HTTP & Networking - minimal resilient client
{:req, "~> 0.5"},
# {:fuse, "~> 2.5"}, # Removed - provided by Foundation
{:cachex, "~> 3.6"},
{:external_service, "~> 1.1"},
{:retry, "~> 0.18"},
# Structured outputs
{:instructor_lite, "~> 0.3.0"},
{:sinter, github: "nshkrdotcom/sinter"},
# Testing & Development
{:propcheck, "~> 1.4", only: [:test, :dev]},
{:stream_data, "~> 1.2", only: [:test, :dev]},
{:mox, "~> 1.1", only: :test},
{:dialyxir, "~> 1.4", only: [:dev], runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.34", only: :dev, runtime: false}
]
end
defp package do
[
licenses: ["MIT"],
links: %{"GitHub" => @source_url}
]
end
end