-
Notifications
You must be signed in to change notification settings - Fork 22
/
mix.exs
45 lines (40 loc) · 1.03 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
defmodule Triton.Mixfile do
use Mix.Project
@version "0.2.4"
@url "https://github.com/blitzstudios/triton"
@maintainers ["Weixi Yen"]
def project do
[name: "Triton",
app: :triton,
version: @version,
source_url: @url,
elixir: "~> 1.4",
description: "Pure Elixir Cassandra ORM built on top of Xandra.",
config: "config/config.exs",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
package: package(),
homepage_url: @url,
deps: deps()]
end
def application do
[extra_applications: [:logger],
mod: {Triton, []}]
end
defp deps do
[
{:decimal, "~> 1.0"},
{:xandra, git: "https://github.com/whatyouhide/xandra", ref: "c08221d72df71331759fc9d2caaab7cb4f182021"},
{:vex, "~> 0.9.1"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
maintainers: @maintainers,
licenses: ["MIT"],
links: %{github: @url},
files: ~w(lib) ++ ~w(CHANGELOG.md LICENSE mix.exs README.md)
]
end
end