-
Notifications
You must be signed in to change notification settings - Fork 6
/
mix.exs
60 lines (54 loc) · 1.43 KB
/
mix.exs
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 GraknElixir.MixProject do
use Mix.Project
@version "0.2.0"
def project do
[
app: :grakn_elixir,
description: description(),
package: package(),
version: @version,
elixir: "~> 1.7",
start_permanent: Mix.env() == :prod,
deps: deps(),
dialyzer: [
plt_file: {:no_warn, ".dialyzer/local.plt"},
ignore_warnings: "dialyzer_ignore.exs"
]
]
end
defp description do
"""
Elixir client for Grakn
"""
end
defp package do
%{
licenses: ["MIT"],
links: %{"Github" => "https://github.com/taxfix/grakn_elixir"}
}
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger],
mod: {Grakn.App, []},
env: [session_ttl_interval: 5_000, session_ttl: 30_000]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:db_connection, "~> 1.1.0"},
{:multix, github: "taxfix/multix"},
{:ex2ms, "~> 1.6"},
{:poolboy, "~> 1.5.1"},
{:grpc, github: "elixir-grpc/grpc", ref: "6edfd9cb9ce8f19dabd8a3ae68ecd48149d36c2a"},
{:protobuf, "~> 0.5.3"},
{:ex_doc, ">= 0.0.0", only: :dev},
{:earmark, ">= 0.0.0", only: :dev},
{:dialyxir, "~> 1.0.0-rc.6", only: [:dev], runtime: false},
{:credo, "~> 1.0", only: [:dev, :test], runtime: false},
{:benchee, "~> 0.13", only: :dev}
]
end
end