Skip to content
Permalink
Browse files
docsite: make the pattern fail when ./rebar doc spits an error
  • Loading branch information
proger committed Mar 7, 2014
1 parent 41f7eed commit 7ff3a627b2d4ff2415c1a1f2c4eb31a07d761017
Showing 1 changed file with 1 addition and 1 deletion.
@@ -16,7 +16,7 @@ main() -> main([]).

main(_) ->
ok = filelib:ensure_dir(?SITEPATH), % output directory
"==> recon (doc)\n"++_ = os:cmd("./rebar doc"), % build docs
"==> recon (doc)\n" = os:cmd("./rebar doc"), % build docs
Overview = ?DOCPATH "overview-summary.html",
Modules = filelib:wildcard(filename:join(?DOCPATH, "recon*.html")),
[Pre,Post] = base(["index.html" | Modules]),

0 comments on commit 7ff3a62

Please sign in to comment.