-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
46 lines (41 loc) · 922 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 Route.Mixfile do
use Mix.Project
@version "1.1.0"
@url "https://github.com/soundtrackyourbrand/route"
def project do
[
app: :route,
version: @version,
elixir: "~> 1.5",
start_permanent: Mix.env() == :prod,
build_embedded: Mix.env() == :prod,
deps: deps(),
package: package(),
description:
"Route macro for routing to multiple routers in phoenix endpoint (or a plug router)",
docs: [
source_ref: "v#{@version}",
source_url: @url
]
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:plug, "~> 1.5"},
{:ex_doc, "~> 0.19", only: [:docs, :dev]},
{:inch_ex, "~> 0.5", only: [:docs, :dev]}
]
end
defp package do
%{
licenses: ["MIT"],
maintainers: ["Fredrik Enestad"],
links: %{"GitHub" => @url}
}
end
end