-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmix.exs
More file actions
73 lines (61 loc) · 1.23 KB
/
mix.exs
File metadata and controls
73 lines (61 loc) · 1.23 KB
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
66
67
68
69
70
71
72
73
defmodule Waffle.Storage.S3.Mixfile do
use Mix.Project
@version "0.0.1"
def project do
[
app: :waffle_s3,
version: @version,
elixir: "~> 1.4",
deps: deps(),
docs: docs(),
# Hex
description: description(),
package: package()
]
end
defp description do
"""
Waffle integration for AWS S3.
"""
end
defp package do
[
maintainers: ["Boris Kuznetsov"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/elixir-waffle/waffle_s3"},
files: ~w(mix.exs README.md CHANGELOG.md lib)
]
end
defp docs do
[
main: "Waffle S3",
extras: [
"documentation/examples/s3.md"
]
]
end
def application do
[
extra_applications: [
:logger,
# Used by Mix.generator.embed_template/2
:eex
]
]
end
defp deps do
[
{:waffle, "~> 1.1"},
# If using Amazon S3
{:ex_aws, "~> 2.1"},
{:ex_aws_s3, "~> 2.1"},
{:sweet_xml, "~> 0.6"},
# Test
{:mock, "~> 0.3", only: :test},
# Dev
{:ex_doc, "~> 0.21", only: :dev},
# Dev, Test
{:credo, "~> 1.4", only: [:dev, :test], runtime: false}
]
end
end