Packages
mix_erlang_tasks
0.1.0
This project provides a few Mix tasks that make it more convenient to use Mix as a build tool and package manager when developing applications in Erlang.
Current section
Files
Jump to
Current section
Files
lib/mix/tasks/edoc.ex
defmodule Mix.Tasks.Edoc do
use Mix.Task
@shortdoc "Generate edoc documentation from the source"
def run(_args) do
try do
:edoc.application(Mix.Project.config[:app], '.', [])
catch
:exit, _reason -> Mix.raise "Encountered some errors."
end
Mix.shell.info [:green, "Docs successfully generated."]
Mix.shell.info [:green, "View them at doc/index.html."]
end
end