-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathmix.exs
More file actions
43 lines (38 loc) · 979 Bytes
/
mix.exs
File metadata and controls
43 lines (38 loc) · 979 Bytes
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
defmodule PhoenixApiDocs.Mixfile do
use Mix.Project
@version "0.1.0"
def project do
[app: :phoenix_api_docs,
version: @version,
elixir: "~> 1.0",
description: "PhoenixApiDocs generates API documentation from annotations in controllers actions and tests cases.",
package: package(),
deps: deps()]
end
# Configuration for the OTP application
#
# Type `mix help compile.app` for more information
def application do
[registered: [PhoenixApiDocs.ConnLogger],
mod: {PhoenixApiDocs, []},
env: [
docs_path: "docs"
]]
end
# Should work with all versions
defp deps do
[
{:plug, ">= 0.0.0"},
{:poison, ">= 0.0.0"},
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md"],
contributors: ["Paul Smoczyk"],
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/smoku/phoenix_api_docs"}
]
end
end