forked from meh/amnesia
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mix.exs
38 lines (32 loc) · 937 Bytes
/
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
defmodule Amnesia.Mixfile do
use Mix.Project
def project do
[ app: :amnesia,
version: "0.2.9",
deps: deps(),
package: package(),
description: "mnesia wrapper for Elixir",
elixirc_paths: elixirc_paths(Mix.env)
]
end
defp package do
[ maintainers: ["meh"],
licenses: ["WTFPL"],
links: %{"GitHub" => "https://github.com/meh/amnesia"} ]
end
def application do
[ applications: [:mnesia, :logger, :exquisite] ]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:exquisite, "~> 0.1.10" },
{ :ex_doc, "~> 0.15", only: [:dev] },
{:sext, "~> 1.8.0", optional: true},
{:mnesia_rocksdb, github: "aeternity/mnesia_rocksdb", ref: "ab15b7f3990", optional: true},
{:mock, "~> 0.3.1", optional: true},
]
end
end