-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmix.exs
38 lines (33 loc) · 850 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
defmodule RouteTogglePlug.MixProject do
use Mix.Project
def project do
[
app: :route_toggle_plug,
version: "0.1.2",
elixir: "~> 1.9",
start_permanent: Mix.env() == :prod,
description: description(),
package: package(),
deps: deps(),
name: "RouteTogglePlug",
source_url: "https://github.com/StanAnsems/RouteTogglePlug"
]
end
def application, do: []
defp deps do
[
{:plug, "~> 1.8"},
{:ex_doc, "~> 0.19", only: :dev, runtime: false}
]
end
defp description() do
"Small plug to toggle routes based on their patch by a environment variable or app config"
end
defp package() do
[
files: ["lib", "mix.exs", "README.md"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/StanAnsems/RouteTogglePlug"}
]
end
end