-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmix.exs
52 lines (47 loc) · 1.24 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
defmodule Ngrok.Mixfile do
use Mix.Project
def project do
[app: :ex_ngrok,
version: "0.3.4",
elixir: "~> 1.7",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps(),
package: package(),
description: description()]
end
def application do
[extra_applications: [:logger],
env: [
api_url: "http://localhost:4040/api/tunnels",
executable: "ngrok",
protocol: "http",
port: "4000",
sleep_between_attempts: 200,
options: "",
],
mod: {Ngrok, []}]
end
defp deps do
[
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
{:credo, "~> 0.10", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 0.5", only: [:dev], runtime: false},
{:httpoison, "~> 1.4"},
{:poison, "~> 3.1"}
]
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 package do
[maintainers: ["Joshua Fleck"],
files: ["bin/wrap", "lib", "mix.exs", "README.md", "LICENSE"],
licenses: ["MIT"],
links: %{"Github" => "https://github.com/joshuafleck/ex_ngrok"}]
end
end