forked from elixir-mongo/mongodb_ecto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
58 lines (51 loc) · 1.2 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
54
55
56
57
58
defmodule Mongo.Ecto.Mixfile do
use Mix.Project
@version "0.2.1"
def project do
[
app: :mongodb_ecto,
version: @version,
elixir: "~> 1.4",
deps: deps(),
test_coverage: [tool: ExCoveralls],
description: description(),
package: package(),
docs: docs()
]
end
def application do
[applications: [:ecto, :mongodb, :logger]]
end
defp deps do
[
{:mongodb, "~> 0.4.2"},
{:ecto, "~> 2.1.0"},
{:dialyxir, "~> 0.5", only: :dev, runtime: false},
{:excoveralls, "~> 0.8", only: :test},
{:inch_ex, "~> 0.5", only: [:dev, :test]},
{:earmark, "~> 1.0", only: :dev},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"""
MongoDB adapter for Ecto
"""
end
defp package do
[
maintainers: ["Michał Muskała", "Justin Wood"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/ankhers/mongodb_ecto"},
files: ~w(mix.exs README.md CHANGELOG.md lib)
]
end
defp docs do
[
source_url: "https://github.com/ankhers/mongodb_ecto",
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md"]
]
end
end