forked from scrogson/romeo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
56 lines (46 loc) · 1.15 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
defmodule Romeo.Mixfile do
use Mix.Project
@version "0.7.0"
def project do
[app: :romeo,
name: "Romeo",
version: @version,
elixir: "~> 1.1",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
deps: deps(),
docs: docs(),
package: package(),
test_coverage: [tool: ExCoveralls]]
end
def application do
[applications: [:logger, :connection, :fast_xml],
mod: {Romeo, []}]
end
defp description do
"An XMPP Client for Elixir"
end
defp deps do
[{:connection, "~> 1.0"},
{:fast_xml, "~> 1.1"},
# Docs deps
{:ex_doc, "~> 0.18", only: :dev},
# Test deps
{:ejabberd, github: "scrogson/ejabberd", branch: "fix_mix_compile", only: :test},
{:excoveralls, "~> 0.8", only: :test}]
end
defp docs do
[extras: docs_extras(),
main: "readme"]
end
defp docs_extras do
["README.md"]
end
defp package do
[files: ["lib", "mix.exs", "README.md", "LICENSE"],
maintainers: ["Sonny Scroggin"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/scrogson/romeo"}]
end
end