forked from joshuafleck/ex_ngrok
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
64 lines (57 loc) · 1.39 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
defmodule Ngrok.Mixfile do
use Mix.Project
@version "1.1.0"
@source_url "https://github.com/jshmrtn/ex_ngrok"
def project do
[
app: :ngrok,
version: @version,
elixir: "~> 1.14",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
package: package(),
description: description()
]
end
def application do
[extra_applications: [:logger]]
end
defp deps do
[
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:credo, "~> 1.6", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.2", only: [:dev], runtime: false},
{:rambo, "~> 0.3.4"},
{:req, "~> 0.3.5"}
]
end
defp description do
"""
A wrapper around Ngrok providing a secure tunnel to
localhost for demoing your Elixir/Phoenix web application or testing
webhook integrations.
"""
end
defp docs do
[
source_url: @source_url,
source_ref: "v" <> @version,
main: "readme",
extras: ["README.md"]
]
end
defp package do
[
maintainers: ["Joshua Fleck", "Jonatan Männchen"],
files: ["lib", "mix.exs", "README.md", "LICENSE"],
licenses: ["MIT"],
links: %{
"GitHub" => @source_url,
"Changelog" => @source_url <> "/releases",
"Issues" => @source_url <> "/issues"
}
]
end
end