forked from hzamani/elixir-cassandra
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmix.exs
More file actions
60 lines (53 loc) · 1.49 KB
/
mix.exs
File metadata and controls
60 lines (53 loc) · 1.49 KB
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
59
60
defmodule Cassandra.Mixfile do
use Mix.Project
def project, do: [
app: :cassandra,
version: version(),
name: "Cassandra",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
compilers: [:elixir_make | Mix.compilers],
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
"coveralls": :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test,
],
source_url: "https://github.com/cafebazaar/elixir-cassandra",
description: "A pure Elixir driver for Apache Cassandra",
package: package(),
docs: docs(),
deps: deps(),
]
def application, do: [
mod: {Cassandra, []},
applications: [:logger, :db_connection],
]
defp deps, do: [
{:db_connection, "~> 1.1"},
{:elixir_make, "~> 0.4", runtime: false},
{:ex_doc, "~> 0.18.0", only: :dev},
{:excheck, "~> 0.5", only: :test},
{:excoveralls, "~> 0.6", only: :test},
{:lz4, "~> 0.2"},
{:poolboy, "~> 1.5"},
{:triq, "~> 1.3", only: :test},
{:uuid, "~> 1.1"},
]
defp version, do: "1.0.2"
defp docs, do: [
main: "readme",
extras: ["README.md"],
]
defp package, do: [
licenses: ["Apache 2.0"],
maintainers: ["Ali Rajabi", "Hassan Zamani"],
links: %{
"Github" => "https://github.com/cafebazaar/elixir-cassandra",
"Docs" => "https://hexdocs.pm/cassandra/#{version()}/",
},
files: ~w(mix.exs lib native Makefile README.md LICENSE.md),
]
end