forked from colinbankier/postgrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
43 lines (38 loc) · 1.03 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
defmodule Postgrex.Mixfile do
use Mix.Project
def project do
[app: :postgrex,
version: "0.9.2-dev",
elixir: "~> 1.0",
deps: deps,
build_per_environment: false,
name: "Postgrex",
source_url: "https://github.com/ericmj/postgrex",
docs: fn ->
{ref, 0} = System.cmd("git", ["rev-parse", "--verify", "--quiet", "HEAD"])
[source_ref: ref, main: "README", readme: "README.md"]
end,
description: description,
package: package]
end
# Configuration for the OTP application
def application do
[applications: [:logger],
mod: {Postgrex, []},
env: [type_server_reap_after: 3 * 60_000]]
end
defp deps do
[{:ex_doc, only: :dev},
{:earmark, only: :dev},
{:decimal, "~> 1.0"},
{:connection, "~> 1.0.0-rc.1"}]
end
defp description do
"PostgreSQL driver for Elixir."
end
defp package do
[contributors: ["Eric Meadows-Jönsson"],
licenses: ["Apache 2.0"],
links: %{"Github" => "https://github.com/ericmj/postgrex"}]
end
end