Current section

Files

Jump to
gremlex mix.exs
Raw

mix.exs

defmodule Gremlex.MixProject do
use Mix.Project
def project do
[
app: :gremlex,
version: "0.3.1",
elixir: "~> 1.6",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package(),
test_coverage: [tool: ExCoveralls],
source_url: "https://github.com/Revmaker/gremlex",
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
docs: [
# The main page in the docs
main: "Gremlex",
logo: "logo.png",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Gremlex.Application, []}
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:poison, "~> 3.1"},
{:httpoison, "~> 1.3.1"},
{:confex, "~> 3.2.3"},
{:websockex, "~> 0.4.0"},
{:uuid, "~> 1.1"},
{:poolboy, "~> 1.5.1"},
{:socket, "~> 0.3"},
{:mix_test_watch, "~> 0.3", only: :dev, runtime: false},
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:mock, "~> 0.2.0", only: :test},
{:excoveralls, "~> 0.7", only: :test},
{:stream_data, "~> 0.1", only: :test}
]
end
defp description do
"An Elixir client for Gremlin (Apache TinkerPop™), a simple to use library for creating Gremlin queries."
end
defp package() do
[
name: "gremlex",
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/Revmaker/gremlex"}
]
end
end