-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
46 lines (41 loc) · 1010 Bytes
/
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
defmodule PlugRedirectHttps.Mixfile do
use Mix.Project
def project do
[
app: :plug_redirect_https,
version: "0.0.7",
elixir: "~> 1.0",
name: "plug_redirect_https",
source_url: "https://github.com/stocks29/plug_redirect_https",
homepage_url: "https://github.com/stocks29/plug_redirect_https",
description: description,
package: package,
deps: deps
]
end
def description do
"""
Plug to redirect http requests to https requests behind a reverse proxy
"""
end
def package do
[
maintainers: ["Bob Stockdale"],
licenses: ["MIT License"],
links: %{
"GitHub" => "https://github.com/stocks29/plug_redirect_https.git",
"Docs" => "http://hexdocs.pm/plug_redirect_https"
}
]
end
def application do
[applications: [:logger]]
end
defp deps do
[
{:plug, "~> 1.1"},
{:earmark, "~> 0.2.1", only: :dev},
{:ex_doc, "~> 0.11.4", only: :dev}
]
end
end