defmodule Gremlex.MixProject do use Mix.Project def project do [ app: :gremlex, version: "0.1.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 ] ] 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, "~> 0.13.0"}, {: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. Gremlex does not support all functions (yet). It is pretty early on in it's development. But you can always use raw Gremlin queries by using Client.query(\"\")" end defp package() do [ name: "gremlex", licenses: ["MIT"], links: %{"GitHub" => "https://github.com/Revmaker/gremlex"} ] end end