Add ExDoc to generate docs
This commit is contained in:
parent
a391104a28
commit
4042f8893f
|
@ -4,10 +4,13 @@ defmodule Issues.MixProject do
|
|||
def project do
|
||||
[
|
||||
app: :issues,
|
||||
escript: escript_config(),
|
||||
version: "0.1.0",
|
||||
elixir: "~> 1.12",
|
||||
start_permanent: Mix.env() == :prod,
|
||||
deps: deps()
|
||||
deps: deps(),
|
||||
name: "Issues",
|
||||
source_url: "https://git.zeitschlag.net/zeitschlag/elixir-book",
|
||||
]
|
||||
end
|
||||
|
||||
|
@ -23,8 +26,17 @@ defmodule Issues.MixProject do
|
|||
[
|
||||
{:httpoison, "~> 1.8.0"},
|
||||
{:poison, "~> 5.0"},
|
||||
{:ex_doc, "~> 0.28"},
|
||||
{:earmark, "~> 1.4.18"},
|
||||
|
||||
# {:dep_from_hexpm, "~> 0.3.0"},
|
||||
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
|
||||
]
|
||||
end
|
||||
|
||||
defp escript_config do
|
||||
[
|
||||
main_module: Issues.CLI
|
||||
]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue