Current section

Files

Jump to
xandra mix.exs
Raw

mix.exs

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.7.1"
def project() do
[app: :xandra,
version: @version,
elixir: "~> 1.3",
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