forked from elixir-mongo/mongodb_ecto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
52 lines (45 loc) · 1.11 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
defmodule Mongo.Ecto.Mixfile do
use Mix.Project
@version "0.1.4"
def project do
[app: :mongodb_ecto,
version: @version,
elixir: "~> 1.0",
deps: deps(),
test_coverage: [tool: ExCoveralls],
description: description(),
package: package(),
docs: docs()]
end
def application do
[applications: [:ecto, :mongodb]]
end
defp deps do
[
{:mongodb, "~> 0.1"},
{:ecto, "~> 1.0.0"},
{:dialyze, "~> 0.2.0", only: :dev},
{:excoveralls, "~> 0.5", only: :test},
{:inch_ex, "~> 0.5", only: :docs},
{:earmark, "~> 0.2", only: :docs},
{:ex_doc, "~> 0.11", only: :docs}
]
end
defp description do
"""
MongoDB adapter for Ecto
"""
end
defp package do
[maintainers: ["Michał Muskała"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/michalmuskala/mongodb_ecto"},
files: ~w(mix.exs README.md CHANGELOG.md lib)]
end
defp docs do
[source_url: "https://github.com/michalmuskala/mongodb_ecto",
source_ref: "v#{@version}",
main: "readme",
extras: ["README.md"]]
end
end