-
Notifications
You must be signed in to change notification settings - Fork 534
/
Copy pathmix.exs
55 lines (48 loc) · 1.34 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
defmodule ExAws.Mixfile do
use Mix.Project
def project do
[app: :ex_aws,
version: "0.1.2",
elixir: "~> 1.0",
description: "AWS client. Currently supports Dynamo, Kinesis, Lambda, S3",
name: "ExAws",
source_url: "https://github.com/cargosense/ex_aws",
package: package,
dialyzer: [flags: "--fullpath"],
deps: deps]
end
def application do
Mix.env |> application
end
def application(:dev) do
[applications: [:logger, :httpoison]]
end
def application(_) do
[applications: [:logger]]
end
defp deps do
[
{:aws_auth, "~> 0.2.3"} |
deps(:test_dev)
]
end
defp deps(:test_dev) do
[
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.7", only: :dev},
{:sweet_xml, "~> 0.2.1", only: [:test]},
{:httpoison, "~> 0.6.0", only: [:test, :dev]},
{:poison, "~> 1.2.0", only: [:test, :dev]},
{:ibrowse, github: "cmullaparthi/ibrowse", tag: "v4.1.1", only: :test},
{:httpotion, "~> 2.0.0", only: :test},
{:jsx, "~> 2.5.2", only: :test}
]
end
defp package do
[description: "AWS client. Currently supports Dynamo, Kinesis, Lambda, S3",
files: ["lib", "config", "mix.exs", "README*"],
contributors: ["Ben Wilson"],
licenses: ["MIT"],
links: %{github: "https://github.com/CargoSense/ex_aws"}]
end
end