-
Notifications
You must be signed in to change notification settings - Fork 4
/
mix.exs
65 lines (59 loc) · 1.7 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
defmodule Peerage.Via.Ec2.Mixfile do
use Mix.Project
def project do
[
app: :peerage_ec2,
version: "2.1.0",
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Peerage EC2",
package: package(),
description: description(),
source_url: "https://github.com/BoweryFarming/peerage_ec2",
homepage_url: "https://github.com/BoweryFarming/peerage_ec2",
docs: [main: "readme", extras: ["README.md"]],
elixirc_paths: elixirc_paths(Mix.env())
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
# Easy Elixir clusters, pluggable discovery
[
{:peerage, "~> 1.0"},
# Deps for ex_aws - an aws client
{:ex_aws, "~> 2.1"},
{:ex_aws_ec2, "~> 2.0"},
{:hackney, "~> 1.9"},
{:sweet_xml, "~> 0.6"},
# ExDoc is a documentation generation tool for Elixir
{:ex_doc, "~> 0.18.1", only: :dev},
# A mocking library for the Elixir language
{:mock, "~> 0.2.0", only: :test}
]
end
def package do
[
files: ["lib", "mix.exs", "README*"],
maintainers: ["Kevin Sheurs", "Dylan Fareed", "Henry Sztul"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/BoweryFarming/peerage_ec2",
"Docs" => "https://hexdocs.pm/peerage_ec2/readme.html"
}
]
end
def description do
"""
A Peerage provider for easy clustering on AWS EC2 and Elastic Beanstalk
"""
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
end