53 lines
892 B
Elixir
53 lines
892 B
Elixir
|
defmodule Connection.Mixfile do
|
||
|
use Mix.Project
|
||
|
|
||
|
@version "1.1.0"
|
||
|
|
||
|
def project do
|
||
|
[
|
||
|
app: :connection,
|
||
|
version: @version,
|
||
|
elixir: "~> 1.7",
|
||
|
build_embedded: Mix.env == :prod,
|
||
|
start_permanent: Mix.env == :prod,
|
||
|
description: description(),
|
||
|
package: package(),
|
||
|
docs: docs(),
|
||
|
deps: deps()
|
||
|
]
|
||
|
end
|
||
|
|
||
|
def application do
|
||
|
[
|
||
|
applications: []
|
||
|
]
|
||
|
end
|
||
|
|
||
|
defp deps() do
|
||
|
[
|
||
|
{:ex_doc, "~> 0.22", only: :dev}
|
||
|
]
|
||
|
end
|
||
|
|
||
|
defp docs do
|
||
|
[
|
||
|
source_url: "https://github.com/elixir-ecto/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/elixir-ecto/connection"}
|
||
|
}
|
||
|
end
|
||
|
end
|