forked from areski/excdr-pusher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
62 lines (57 loc) · 1.6 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
defmodule ExCdrPusher.Mixfile do
use Mix.Project
def project do
[app: :excdr_pusher,
version: "0.7.0",
elixir: "~> 1.4.1",
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
[mod: {ExCdrPusher, []},
extra_applications: [:logger]]
end
# Dependencies
defp deps do
[
{:ex_doc, "~> 0.16.2", only: :dev},
{:distillery, "~> 1.4.1"},
# {:sqlitex, path: "../sqlitex"},
{:sqlitex, "~> 1.3.2"},
{:ecto, "~> 2.1.4"},
{:postgrex, ">= 0.0.0"},
{:logger_file_backend, "0.0.10"},
{:instream, "~> 0.15"},
{:swab, github: "crownedgrouse/swab", branch: "master"},
{:timex, "~> 3.1.23"},
{:timex_ecto, "~> 3.1.1"},
{:tzdata, "~> 0.5.11"},
# used test and code style,
{:mix_test_watch, "~> 0.3", only: :dev, runtime: false},
{:credo, "~> 0.8.4", only: [:dev, :test], runtime: false}
# {:dogma, "~> 0.1", only: :dev},
]
end
defp description, do: "Push FreeSWITCH CDRS from Sqlite to PostgreSQL & InfluxDB"
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