-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmix.exs
60 lines (55 loc) · 1.52 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
defmodule ExbufPlug.Mixfile do
use Mix.Project
def project do
[
app: :exbuf_plug,
version: "1.0.0",
elixir: "~> 1.15",
description: "A small plug to handle decoding protocol buffers.",
package: package(),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
package: package()
]
end
# Configuration for the OTP application
#
# Type "mix help compile.app" for more information
def application do
[extra_applications: [:logger]]
end
# Dependencies can be Hex packages:
#
# {:mydep, "~> 0.3.0"}
#
# Or git/path repositories:
#
# {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"}
#
# Type "mix help deps" for more examples and options
defp deps do
[
{:cowboy, "~> 2.12"},
{:plug, "~> 1.16"},
{:exprotobuf, "~> 1.2", only: :test},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp description do
"A plug for decoding protocol buffers"
end
defp package do
[
# This option is only needed when you don't want to use the OTP application name
# name: "postgrex",
# These are the default files included in the package
# files: ["lib", "priv", "mix.exs", "README*", "readme*", "LICENSE*", "license*"],
organization: "blake_elearning",
maintainers: ["Martin Stannard"],
licenses: ["Blake"],
links: %{"GitHub" => "https://github.com/blake-education/exbuf_plug"}
]
end
end