-
Notifications
You must be signed in to change notification settings - Fork 8
/
mix.exs
53 lines (46 loc) · 1.07 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
44
45
46
47
48
49
50
51
52
53
defmodule ArangodbEcto.Mixfile do
use Mix.Project
@version "0.1.0"
@url "https://github.com/lean5/arangodb_ecto"
def project do
[
app: :arangodb_ecto,
name: "ArangoDB.Ecto",
version: @version,
elixir: "~> 1.4",
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
description: description(),
docs: docs(),
deps: deps()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:ecto, "~> 2.2"},
{:arango, github: "mpoeter/arangoex"},
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:ex_doc, "~> 0.16", only: :dev, runtime: false}
]
end
defp description do
"""
ArangoDB adapter for Ecto
"""
end
defp package do
[
maintainers: ["Manuel Pöter"],
licenses: ["MIT"],
links: %{"GitHub" => @url},
files: ["lib", "mix.exs", "README.md"]
]
end
defp docs do
[extras: ["README.md"], main: "readme", source_ref: "v#{@version}", source_url: @url]
end
end