-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmix.exs
More file actions
76 lines (70 loc) · 1.9 KB
/
Copy pathmix.exs
File metadata and controls
76 lines (70 loc) · 1.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
defmodule Goodwizard.MixProject do
use Mix.Project
def project do
[
app: :goodwizard,
version: "0.1.0",
elixir: "~> 1.17",
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: [:ex_unit, :mix],
ignore_warnings: ".dialyzer_ignore.exs"
]
]
end
def cli do
[
preferred_envs: [check: :test, precommit: :test]
]
end
def application do
[
extra_applications: [:logger],
mod: {Goodwizard.Application, []}
]
end
defp deps do
[
{:jido, "~> 2.0.0-rc", override: true},
{:jido_ai, github: "agentjido/jido_ai", ref: "764bb6d", override: true},
{:jido_character, github: "agentjido/jido_character", ref: "20ae4ef"},
{:jido_browser, "~> 0.8", override: true},
{:jido_messaging, github: "agentjido/jido_messaging", ref: "96e62c7"},
{:telegex, "~> 1.8"},
{:finch, "~> 0.18"},
{:plug, "~> 1.15"},
{:plug_cowboy, "~> 2.7"},
{:toml, "~> 0.7"},
{:jason, "~> 1.4"},
{:yaml_elixir, "~> 2.9"},
{:dotenvy, "~> 1.1"},
{:ex_json_schema, "~> 0.10"},
{:uniq, "~> 0.6"},
{:nebulex, "~> 2.6"},
# Code Quality (dev/test only)
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:doctor, "~> 0.21", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false},
{:mimic, "~> 1.0", only: :test},
{:faker, "~> 0.18", only: :test},
{:benchee, "~> 1.3", only: :dev, runtime: false}
]
end
defp aliases do
[
check: [
"compile --warnings-as-errors",
"deps.unlock --unused",
"format --check-formatted",
"credo --strict",
"doctor",
"dialyzer",
"test"
],
precommit: ["check"]
]
end
end