diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-01-27 21:30:18 -0500 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2017-01-27 22:21:17 -0500 |
commit | ba954cfb43f0b05e15ee206b13488d62c3537267 (patch) | |
tree | 92dea83e69ed2b9717981c2838adf82c501cbce1 /test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.app.src | |
parent | abff9dfff34e04bd23b1f178eadee4d8770de9a9 (diff) |
Survive EDoc crashes
Instead of a hard crash, display an error message indicating which app
failed.
We can't report the exact failure; only EDoc does it to stdout itself
and we can't capture it.
Pre/Post hooks are run properly despite the failure, as per escript and
compile providers.
Diffstat (limited to 'test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.app.src')
-rw-r--r-- | test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.app.src | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.app.src b/test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.app.src new file mode 100644 index 0000000..9987fd5 --- /dev/null +++ b/test/rebar_edoc_SUITE_data/bad/apps/foo/src/foo.app.src @@ -0,0 +1,17 @@ +{application, foo, + [{description, "An OTP application"}, + {vsn, "0.1.0"}, + {registered, []}, + {mod, { foo_app, []}}, + {applications, + [kernel, + stdlib, + bar1, bar2 + ]}, + {env,[]}, + {modules, []}, + + {maintainers, []}, + {licenses, []}, + {links, []} + ]}. |