-
Notifications
You must be signed in to change notification settings - Fork 1
/
mix.exs
50 lines (45 loc) · 1.01 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
defmodule HikvisionClient.MixProject do
use Mix.Project
@version "0.1.1"
@repo "https://github.com/evercam/hikvision_client"
def project do
[
app: :hikvision_client,
version: @version,
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Docs
name: "HikvisionClient",
source_url: @repo,
description: "Hikvision ISAPI client",
docs: [
main: "Hikvision",
source_ref: "v#{@version}",
source_url: @repo,
extras: ["README.md"]
],
package: [
licenses: ["MIT"],
links: %{
"Github" => @repo
}
]
]
end
def application do
[
mod: {Hikvision, []},
extra_applications: [:logger, :inets]
]
end
defp deps do
[
{:uuid, "~> 1.1"},
{:sweet_xml, ">= 0.0.0", optional: true},
{:bypass, "~> 2.1", only: :test},
{:jason, "~> 1.4", only: :test},
{:ex_doc, "~> 0.27", only: :dev, runtime: false}
]
end
end