-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
50 lines (43 loc) · 1019 Bytes
/
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
defmodule Defql.Mixfile do
use Mix.Project
def project do
[
app: :defql,
version: "0.1.1",
elixir: "~> 1.3",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: "Create elixir functions with SQL as a body.",
package: package(),
deps: deps(),
docs: [
main: Defql,
source_url: "https://github.com/fazibear/defql"
]
]
end
def package do
[
maintainers: ["Michał Kalbarczyk"],
licenses: ["MIT"],
links: %{github: "https://github.com/fazibear/defql"}
]
end
def application do
[
extra_applications: [],
mod: {Defql.Connection, []}
]
end
defp deps do
[
{:poolboy, ">= 1.0.0"},
# Drivers
{:db_connection, "~> 1.1", optional: true},
{:postgrex, ">= 0.13.0", optional: true},
{:ecto, "~> 2.1", optional: true},
{:ex_doc, ">= 0.0.0", only: :dev},
{:credo, "~> 0.5", only: [:dev, :test]}
]
end
end