-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmix.exs
47 lines (42 loc) · 1.04 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
defmodule MaruParams.MixProject do
use Mix.Project
def project do
[
app: :maru_params,
version: "0.2.11",
elixir: "~> 1.12",
elixirc_paths: elixirc_paths(Mix.env()),
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "A rebuild version maru params parser which support phoenix.",
package: package(),
docs: [
extras: ["README.md"],
main: "readme"
]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:decimal, "~> 1.0 or ~> 2.0", optional: true},
{:plug, "~> 1.10", optional: true},
{:jason, "~> 1.0", optional: true},
{:ex_doc, "~> 0.29", only: :docs}
]
end
defp package do
%{
maintainers: ["Xiangrong Hao"],
licenses: ["Apache-2.0"],
links: %{"Github" => "https://github.com/elixir-maru/maru_params"}
}
end
end