Add ExDoc to generate docs

This commit is contained in:
Nathan Mattes 2022-02-25 10:55:07 +01:00
parent a391104a28
commit 4042f8893f
1 changed files with 13 additions and 1 deletions

View File

@ -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