Skip to content

Commit

Permalink
Add ex_doc for hex publish of edoc (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed May 25, 2023
1 parent 685befc commit e5d5bd5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $(REBAR):
chmod +x $(REBAR)

# Use Rebar to get, update and compile dependencies
.PHONY: upgrade-deps compile compile shell dialyzer xref test
.PHONY: upgrade-deps compile compile shell dialyzer xref test edoc

upgrade-deps: $(REBAR)
$(REBAR) $(REBAR_OPTS) upgrade
Expand All @@ -41,7 +41,7 @@ test: $(REBAR)
$(REBAR) as test eunit

edoc: $(REBAR)
$(REBAR) edoc
$(REBAR) ex_doc

# Cleaning
.PHONY: clean_logs
Expand Down
10 changes: 10 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@
{tls_certificate_check, "~> 1.11"}
]}.

{project_plugins, [rebar3_ex_doc]}.

{hex, [{doc, ex_doc}]}.

{ex_doc, [
{source_url, <<"https://github.com/zotonic/z_stdlib">>},
{extras, [<<"README.md">>, <<"LICENSE">>]},
{main, <<"readme">>}
]}.

{profiles, [
{test, [
{deps, [
Expand Down

0 comments on commit e5d5bd5

Please sign in to comment.