-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
53 lines (48 loc) · 1.24 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
defmodule WeMo.Mixfile do
use Mix.Project
def project do
[
app: :ex_wemo,
version: "0.1.0",
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
mod: {WeMo.Application, []},
env: [http_port: 8084],
extra_applications: [:logger, :ssdp, :sweet_xml]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ssdp, "~> 0.1"},
{:httpoison, "~> 0.11.1"},
{:sweet_xml, "~> 0.6.5"},
{:cowboy, "~> 1.0"},
{:html_entities, "~> 0.4.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
def description do
"""
Discover, monitor and control Belkin WeMo devices on your local network
"""
end
def package do
[
name: :ex_wemo,
files: ["lib", "mix.exs", "priv", "README*", "LICENSE*"],
maintainers: ["Christopher Steven Coté"],
licenses: ["Apache License 2.0"],
links: %{"GitHub" => "https://github.com/NationalAssociationOfRealtors/ex_wemo",
"Docs" => "https://github.com/NationalAssociationOfRealtors/ex_wemo"}
]
end
end