summaryrefslogtreecommitdiff
path: root/test/rebar_edoc_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* uncomment test codeFred Hebert2019-08-011-2/+2
|
* Fixing duplicate macro definition in umbrella edocFred Hebert2019-07-301-1/+56
| | | | | | | | | | | | | | | | | When in umbrella mode (or through multiple profiles), users can specify macros for EDocs based on either the {def, ...} or the {macros, ...} arguments. This patch replaces the prior options merging for umbrellas to use the rebar3 tup_umerge utils to remove identical duplicates while preserving correct ordering, and manually merges the {macros, ...} definitions while ke eping the correct precedence rules since these appear (given their behaviour) to be all individually extracted and passed as `{d, ...}` to the compiler so that epp expands them. This compiler function freaks out on any re-defined macros and explodes. Do note that the macros with `{def, ...}` are edoc macros and do not suffer from that issue, safely deduplicating multiple definitions.
* Ensure EDoc opts in umbrella apps are respectedFred Hebert2019-07-041-1/+9
| | | | | | | | | | | | | This adds an additional loading and merging of options for EDoc using the values from the top-level along with those specified in the rebar.config of an umbrella application. The app-specific config values are prepended to the global ones; this can likely cause some problems with manual path handling, but is unlikely to happen in practice and the rest seems to work fine based on order Fixes the issue in #2114
* Fix duplicate module naming in edoc test suite dataTino Breddin2019-04-161-1/+1
|
* Survive EDoc crashesFred Hebert2017-01-271-1/+21
| | | | | | | | | | | 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.
* Add tests for multi-app edoc linking workingFred Hebert2016-08-251-0/+52