forked from akappen/s3_direct_upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
44 lines (39 loc) · 1.37 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
defmodule S3DirectUpload.Mixfile do
use Mix.Project
def project do
[app: :s3_direct_upload,
version: "0.1.3",
elixir: "~> 1.4",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
description: description(),
package: package(),
deps: deps()]
end
# Configuration for the OTP application
def application do
[extra_applications: [:logger]]
end
# Dependencies
defp deps do
[{:poison, "~> 2.0 or ~> 3.0"},
{:ex_doc, "~> 0.18", only: :dev, runtime: false}]
end
defp description do
"""
Pre-signed S3 upload helper for client-side multipart POSTs.
"""
end
defp package do
[
name: :s3_direct_upload,
files: ["lib", "mix.exs", "README*", "LICENSE*"],
maintainers: ["Andrew Kappen"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/akappen/s3_direct_upload",
"S3 Direct Uploads With Ember And Phoenix" => "http://haughtcodeworks.com/blog/software-development/s3-direct-uploads-with-ember-and-phoenix/",
"Browser-Based Upload using HTTP POST (Using AWS Signature Version 4)" => "http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-post-example.html",
"Task 3: Calculate the Signature for AWS Signature Version 4" => "http://docs.aws.amazon.com/general/latest/gr/sigv4-calculate-signature.html"}
]
end
end