-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathmix.exs
69 lines (62 loc) · 1.71 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
61
62
63
64
65
66
67
68
69
defmodule Quenya.MixProject do
use Mix.Project
@version "0.3.8"
def project do
[
app: :quenya,
version: @version,
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
compilers: Mix.compilers(),
deps: deps(),
# Docs
name: "Quenya",
docs: [
extras: ["README.md"]
],
source_url: "https://github.com/tyrchen/quenya",
homepage_url: "https://github.com/tyrchen/quenya",
description: """
Fast. Reusable. Quenya framework helps you generate and build OpenAPIv3
compatible API apps easily from a spec. It greatly reduced the time to
build APIs from ideation to production.
""",
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :crypto]
]
end
defp elixirc_paths(env) when env in [:test, :dev], do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_json_schema, "~> 0.7"},
{:joken, "~> 2.0"},
{:jason, "~> 1.2"},
{:json_data_faker, "~> 0.2"},
{:plug, "~>1.11"},
{:stream_data, "~> 0.5"},
{:uuid, "~> 1.0"},
# dev/test deps
{:ex_doc, "~> 0.23", only: :dev, runtime: false},
{:credo, "~> 1.5", only: [:dev]}
]
end
defp package do
[
files: ["lib", "priv", "mix.exs", "README*", "LICENSE*"],
licenses: ["MIT"],
maintainers: ["[email protected]"],
links: %{
"GitHub" => "https://github.com/tyrchen/quenya",
"Docs" => "https://hexdocs.pm/quenya"
}
]
end
end