forked from whatyouhide/xandra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
48 lines (39 loc) · 1016 Bytes
/
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
defmodule Xandra.Mixfile do
use Mix.Project
@description "Fast, simple, and robust Cassandra driver for Elixir."
@repo_url "https://github.com/lexhide/xandra"
@version "0.10.0"
def project() do
[
app: :xandra,
version: @version,
elixir: "~> 1.4",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
package: package(),
description: @description,
# Docs
name: "Xandra",
docs: [main: "Xandra", source_ref: "v#{@version}", source_url: @repo_url]
]
end
def application() do
[applications: [:logger, :db_connection]]
end
defp package() do
[
maintainers: ["Aleksei Magusev", "Andrea Leopardi"],
licenses: ["ISC"],
links: %{"GitHub" => @repo_url}
]
end
defp deps() do
[
{:db_connection, "~> 1.0"},
{:snappy, github: "skunkwerks/snappy-erlang-nif", only: [:dev, :test]},
{:ex_doc, "~> 0.14", only: :dev}
]
end
end