mirror of
https://github.com/valitydev/elixir-thrift.git
synced 2024-11-06 10:15:17 +00:00
Add documentation support via ex_doc.
This commit is contained in:
parent
794ba2610b
commit
6284a12fc9
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
/_build
|
||||
/deps
|
||||
/doc
|
||||
/src/thrift_lexer.erl
|
||||
erl_crash.dump
|
||||
*.ez
|
||||
|
10
mix.exs
10
mix.exs
@ -26,7 +26,11 @@ defmodule Thrift.Mixfile do
|
||||
# Hex
|
||||
description: description,
|
||||
package: package,
|
||||
]
|
||||
|
||||
|
||||
# Docs
|
||||
name: "Thrift",
|
||||
docs: [source_ref: "v#{@version}", main: "Thrift", source_url: @project_url]]
|
||||
end
|
||||
|
||||
def application do
|
||||
@ -34,7 +38,9 @@ defmodule Thrift.Mixfile do
|
||||
end
|
||||
|
||||
defp deps do
|
||||
[{:excoveralls, github: "parroty/excoveralls", tag: "v0.4.5", override: true, only: :test}]
|
||||
[{:ex_doc, "~> 0.10", only: :dev},
|
||||
{:earmark, "~> 0.1", only: :dev},
|
||||
{:excoveralls, github: "parroty/excoveralls", tag: "v0.4.5", override: true, only: :test}]
|
||||
end
|
||||
|
||||
defp description do
|
||||
|
2
mix.lock
2
mix.lock
@ -1,4 +1,6 @@
|
||||
%{"certifi": {:hex, :certifi, "0.3.0"},
|
||||
"earmark": {:hex, :earmark, "0.2.1"},
|
||||
"ex_doc": {:hex, :ex_doc, "0.11.4"},
|
||||
"excoveralls": {:git, "https://github.com/parroty/excoveralls.git", "a0d3d57b7137f3204690e4126a82d48d985a09fb", [tag: "v0.4.5"]},
|
||||
"exjsx": {:hex, :exjsx, "3.2.0"},
|
||||
"hackney": {:hex, :hackney, "1.4.8"},
|
||||
|
Loading…
Reference in New Issue
Block a user