-
Notifications
You must be signed in to change notification settings - Fork 73
/
mix.exs
50 lines (46 loc) · 1.13 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
defmodule Bureaucrat.Mixfile do
use Mix.Project
def project do
[
app: :bureaucrat,
version: "0.2.10",
elixir: "~> 1.10",
description: "Generate Phoenix API documentation from tests",
deps: deps(),
package: package()
]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[
registered: [Bureaucrat.Recorder],
mod: {Bureaucrat, []},
env: [
writer: Bureaucrat.MarkdownWriter,
default_path: "API.md",
paths: [],
titles: [],
env_var: "DOC"
]
]
end
defp deps do
[
{:plug, ">= 1.0.0"},
{:poison, "~> 1.5 or ~> 2.0 or ~> 3.0 or ~> 4.0 or ~> 5.0", optional: true},
{:phoenix, ">= 1.2.0", optional: true},
{:ex_doc, "~> 0.19", only: :dev},
{:inflex, ">= 1.10.0"}
]
end
defp package do
[
files: ~w(lib mix.exs README.md UNLICENSE),
maintainers: ["Roman Kuznietsov", "Opak Alex", "Arno Dirlam"],
licenses: ["Unlicense"],
links: %{"GitHub" => "https://github.com/api-hogs/bureaucrat"}
]
end
end