forked from elixir-ecto/connection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
46 lines (39 loc) · 898 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
defmodule Connection.Mixfile do
use Mix.Project
@version "1.0.3"
def project do
[app: :connection,
version: @version,
elixir: "~> 1.0",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
docs: docs(),
deps: deps(Mix.env)]
end
def application do
[applications: []]
end
defp deps(:dev) do
[{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.7", only: :dev}]
end
defp deps(_) do
[]
end
defp docs do
[source_url: "https://github.com/fishcakez/connection",
source_ref: "v#{@version}",
main: Connection]
end
defp description do
"""
Connection behaviour for connection processes
"""
end
defp package do
%{licenses: ["Apache 2.0"],
links: %{"Github" => "https://github.com/fishcakez/connection"}}
end
end