-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
66 lines (61 loc) · 1.62 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
61
62
63
64
65
66
defmodule ExCdrPusher.Mixfile do
use Mix.Project
def project do
[
app: :excdr_pusher,
version: "1.6.0",
elixir: "> 1.9.0",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[
extra_applications: [:logger],
mod: {ExCdrPusher.Application, []}
]
end
# Dependencies
defp deps do
[
{:ecto, "~> 3.4.5"},
{:ecto_sql, "~> 3.4.5"},
{:postgrex, ">= 0.0.0"},
{:sqlitex, "~> 1.7.1"},
{:esqlite, "0.4.1"},
{:jason, "~> 1.2.1"},
{:logger_file_backend, "0.0.11"},
{:observer_cli, "~> 1.5.3"},
{:distillery, "~> 2.1.1"},
{:memoize, "~> 1.3.0"},
{:decimal, "~> 1.8.1"},
{:timex, "~> 3.6.2"},
{:tzdata, "~> 1.0.3"},
# used test and code style,
{:ex_doc, "~> 0.22.1", only: :dev},
{:mix_test_watch, "~> 1.0.2", only: [:dev, :test], runtime: false},
{:credo, "~> 1.4.0", only: [:dev, :test], runtime: false}
]
end
defp description, do: "Push FreeSWITCH CDRS from Sqlite to PostgreSQL"
defp package do
[
name: :excdr_pusher,
license_file: "LICENSE",
external_dependencies: [],
maintainers: ["Areski Belaid"],
vendor: "Areski Belaid",
licenses: ["MIT"],
links: %{
"Github" => "https://github.com/areski/excdr-pusher",
"Homepage" => "https://github.com/areski/excdr-pusher"
}
]
end
end