Current section
Files
Jump to
Current section
Files
mix.exs
defmodule ExCypher.MixProject do
use Mix.Project
def project do
[
app: :ex_cypher,
description: "A DSL to interact with cypher query language",
version: "0.3.0-rc.1",
elixir: "~> 1.9",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:credo, "~> 1.1.0", only: [:dev, :test], runtime: false},
{:ex_doc, "~> 0.21", only: :dev, runtime: false}
]
end
defp package do
[
name: "ex_cypher",
licenses: ["MIT"],
source_url: "https://github.com/gleopoldo/ex-cypher",
links: %{"GitHub" => "https://github.com/gleopoldo/ex-cypher"}
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end