-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmix.exs
More file actions
65 lines (57 loc) · 1.65 KB
/
mix.exs
File metadata and controls
65 lines (57 loc) · 1.65 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
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2025 DBVisor
defmodule SQL.MixProject do
use Mix.Project
@version "0.5.0"
def project do
[
app: :sql,
version: @version,
elixir: "~> 1.19",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "SQL provides state-of-the-art, high-performance SQL integration for Elixir, built to handle extreme concurrency with unmatched expressiveness and ergonomic query composition. Write safe, composable, parameterized queries directly, without translating to Ecto or any ORM.",
name: "SQL",
docs: docs(),
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
aliases: [
"sql.bench": "run benchmarks/bench.exs",
test: ["sql.create --quiet", "test"]
]
]
end
def application do
[
mod: {SQL.Application, []}
]
end
defp elixirc_paths(:test), do: ["lib", "test"]
defp elixirc_paths(_), do: ["lib"]
defp package do
%{
licenses: ["Apache-2.0"],
maintainers: ["Benjamin Schultzer"],
links: %{"GitHub" => "https://github.com/elixir-dbvisor/sql"}
}
end
defp docs do
[
main: "readme",
api_reference: false,
source_ref: "v#{@version}",
canonical: "https://hexdocs.pm/sql",
extras: ["CHANGELOG.md", "README.md", "LICENSE"]
]
end
defp deps do
[
{:benchee, "~> 1.5", only: :dev},
{:ecto_sql, "~> 3.13", only: :dev},
{:postgrex, ">= 0.0.0", only: :dev},
{:ex_doc, "~> 0.37", only: :dev},
{:yamerl, ">= 0.0.0", only: [:dev, :test]},
{:unicode_set, "~> 1.0"}
]
end
end