-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
81 lines (76 loc) · 2.44 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
defmodule OpenAiClient.MixProject do
use Mix.Project
def project do
[
app: :open_ai_client,
description: "OpenAI API client for Elixir",
version: "3.0.0",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
elixirc_paths: elixirc_paths(Mix.env()),
docs: [
main: "OpenAiClient",
extras: ["README.md"]
],
source_url: "https://github.com/fractaltechnologylabs/open_ai_client",
homepage_url: "https://thisisartium.com",
package: [
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/fractaltechnologylabs/open_ai_client",
"Documentation" => "https://hexdocs.pm/open_ai_client",
"Artium" => "https://thisisartium.com"
}
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:bypass, "~> 2.1", only: :test},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false},
{:doctor, "~> 0.21", only: :dev, runtime: false},
{:ex_break, "~> 0.0"},
{:ex_check, "~> 0.15", only: :dev, runtime: false},
{:ex_doc, "~> 0.30", only: [:dev, :test], runtime: false},
{:faker, "0.17.0", only: :test},
{:jason, "~> 1.2"},
{:knigge, "~> 1.4"},
{:mix_audit, "~> 2.1", only: :dev, runtime: false},
{:mix_test_interactive, "~> 1.2", only: :dev, runtime: false},
{:mox, "~> 1.1", only: :test},
{:req, "~> 0.4"},
{:sobelow, "~> 0.12", only: [:dev, :test], runtime: false},
{:stream_data, "~> 0.6"},
{:typed_struct, "~> 0.3"},
{:uuid, "~> 1.1"},
{:vex, "~> 0.9"}
]
end
# Aliases are shortcuts or tasks specific to the current project.
# For example, to install project dependencies and perform other setup tasks, run:
#
# $ mix setup
#
# See the documentation for `Mix` for more info on aliases.
defp aliases do
[
compile: ["compile --warnings-as-errors"],
sobelow: ["sobelow --config"],
dialyzer: ["dialyzer --list-unused-filters"],
credo: ["credo --strict"],
check_formatting: ["format --check-formatted"]
]
end
end