Skip to content

Commit

Permalink
Let the example format itself
Browse files Browse the repository at this point in the history
It's already verified in CI in any case
Otherwise the base rebar.config kicks in and tries to verify
the format for _build (which is part of its pattern)
  • Loading branch information
paulo-ferraz-oliveira committed Aug 7, 2023
1 parent 9a2e34c commit 8fa1d46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,13 @@

%% == Documentation ==

{ex_doc,
[{source_url, <<"https://github.com/inaka/cowboy-trails">>}
]}.
{ex_doc, [{source_url, <<"https://github.com/inaka/cowboy-trails">>}]}.

{hex, [{doc, #{provider => ex_doc}}]}.

%% == Format ==

{format,
[{files, ["*.config", "src/*", "test/*", "example/{rel,src,.}/*{.config,.erl,.src}"]}]}.
{format, [{files, ["*.config", "src/*", "test/*"]}]}.

%% == Hank ==

Expand Down
3 changes: 2 additions & 1 deletion src/trails.app.src
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
{licenses, ["Apache 2.0"]},
{links,
[{"GitHub", "https://github.com/inaka/cowboy-trails"},
{"Blog", "https://web.archive.org/web/20160422045517/http://inaka.net/blog/2015/07/20/cowboy-trails/"},
{"Blog",
"https://web.archive.org/web/20160422045517/http://inaka.net/blog/2015/07/20/cowboy-trails/"},
{"Example", "https://github.com/inaka/cowboy-trails/tree/master/example"}]},
{build_tools, ["rebar3"]}]}.

0 comments on commit 8fa1d46

Please sign in to comment.