-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathmix.exs
More file actions
59 lines (51 loc) · 1.47 KB
/
Copy pathmix.exs
File metadata and controls
59 lines (51 loc) · 1.47 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
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: 2025 DBVisor
defmodule SQL.MixProject do
use Mix.Project
@version "0.6.0-dev"
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: [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
[
{:ex_doc, "~> 0.40.3", only: :dev},
{:yamerl, ">= 0.0.0", only: [:dev, :test]},
{:unicode_set, "~> 1.7"}
]
end
end