forked from elixir-mongo/mongodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
47 lines (40 loc) · 1 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
defmodule Mongodb.Mixfile do
use Mix.Project
@version "0.2.1-dev"
def project do
[app: :mongodb,
version: @version,
elixir: "~> 1.2",
name: "Mongodb",
deps: deps(),
docs: docs(),
description: description(),
package: package()]
end
def application do
[applications: [:logger, :connection, :db_connection],
mod: {Mongo.App, []},
env: []]
end
defp deps do
[{:connection, "~> 1.0"},
{:db_connection, "~> 1.0"},
{:poolboy, ">= 0.0.0", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev}]
end
defp docs do
[main: "readme",
extras: ["README.md"],
source_ref: "v#{@version}",
source_url: "https://github.com/ericmj/mongodb"]
end
defp description do
"MongoDB driver for Elixir"
end
defp package do
[maintainers: ["Eric Meadows-Jönsson"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/ericmj/mongodb"}]
end
end