| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
`cover:analyse/0` didn't exist pre-otp18
|
|
|
|
|
| |
provider chains like `eunit, ct, proper` from misreporting cover
stats from providers later in the sequence
|
|\
| |
| | |
Fix crash when doing hash check with missing index
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Specifically, when fetching an application where the expected hash is
unknown, the hash is validated from the hex index; when the index is
available, the hash is fetched fine and later inserted in the lock file.
However, if the index is not available, the call would simply crash.
This patch fixes thing so that instead, the index is refreshed before
giving up and failing.
|
|\ \
| |/
|/| |
Cover excl mods
|
| |
| |
| |
| |
| |
| | |
- brings back former error handling and debug messages
- keeps the filtering of excluded mods and debug messages
- breaks up code into multiple functions and removes nesting
|
| | |
|
| |\
|/ /
| |
| | |
lpgauth-cover_excl_mods
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Equivalent trim_all in bin split for <17.x
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The trim_all option used in binary:split/3 is not supported in 17.x.
This patch makes an equivalent operation by eliminating empty split
fragments. From the docs:
trim
Removes trailing empty parts of the result (as does trim in
re:split/3.
trim_all
Removes all empty parts of the result.
The new expression is therefore equivalent to the old one, but with the
added benefit of compatibility.
Fixes #1275
|
|\ \
| | |
| | | |
upgrade relx to 3.21.0
|
|/ / |
|
|\ \
| | |
| | | |
Fix Edoc cross-links in umbrella projects
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Given the topological sort applied to top-level apps, we should be able
to carry the edoc values for paths configured when more than one app
exists.
This allows multiple disjoint app to have defined cross-linking in the
documentation.
Tests pending.
|
|\ \
| | |
| | | |
Print error on too many help arguments
|
|/ /
| |
| |
| |
| |
| |
| | |
Previously the help task would crash when given more than two
arguments. After this change it instead print a message:
Too many arguments given. Usage: rebar3 help [<namespace>] <task>
|
|\ \
| | |
| | | |
Hookable escript
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Repeats some of the steps used in the bootstrap script for non-windows
systems so that 'rebar3 escriptize' can be used in development for
faster results:
- ./bootstrap 9.95s user 1.55s system 102% cpu 11.234 total
- rebar3 escriptize 0.49s user 0.14s system 101% cpu 0.623 total
|
|/ /
| |
| |
| | |
This will allow to move and modify the generated files
|
|\ \
| | |
| | | |
Fix filtering of system libraries in escriptize
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
https://github.com/erlang/rebar3/pull/1249 introduced a mechanism by
which escript dependencies of applications only would be included; this
required adding a filter to skip system libraries in the OTP root
because that tends to break escripts in very nasty ways.
However, the problem came that some libraries are just not in the
escript path but may still be included; for these libraries the path
prefix check failed as they return `{error, bad_name}` from
`code:lib_dir(Dep)` rather than just the path they're in --
specifically, this happens with top level apps.
The issue was reported in https://github.com/erlang/rebar3/issues/1294
and the current patch fixes it by accepting a `bad_name` dep as valid,
since it is obviously not in the root path.
|
|\ \ \
| | | |
| | | | |
Typo fix.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
template_dir option was forgotten in documentation plus recurse in di…
|
| | | | |
| | | | |
| | | | |
| | | | | |
added
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Handle `escriptize` when the specified app is missing
|
| | |/ /
| |/| |
| | | |
| | | |
| | | | |
When rebar.config contains a `escript_main_app` option, but the
specified app doesn't exist in the build directory, print an error.
|
|\ \ \ \
| |/ / /
|/| | | |
Ignore IntelliJ IDEA files
|
|/ / /
| | |
| | | |
This family of IDE with Erlang plugin is already quite popular.
|
|\ \ \
| | | |
| | | | |
ssl_verify_hostname was renamed to ssl_verify_fun
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Add issue template to help people fill tickets
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
fix catching `not_valid` error on dialyzer
|
| | | | | |
|
| | |/ /
| |/| | |
|
|\ \ \ \
| |/ / /
|/| | | |
Fix opts check when compiler called with dict opts
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
rebar_base_compiler allows to be called with two types of options: a
dictionary, or a rebar_state record. In the later case, the options are
taken out with a call from rebar_opts, which fetches options that have
been inserted in the application via rebar_app_info as part of the
app_discovery phase, and are a list.
This yields a possibility that options used when formatting warnings can
either be a list of a dict, and we only used lists when making checks.
This ended up breaking 3rd party compiler users (i.e. LFE compile
plugin) since they were calling us with a dict rather than our own
internal records.
This patch supports both types of lookups to avoid issues.
|
|\ \ \
| |/ /
|/| | |
Relx upgrade to version 3.20.0
|
| | | |
|
|/ / |
|
|\ \
| | |
| | | |
Add OTP 19.0 to travis
|
|/ / |
|
|\ \
| | |
| | | |
Avoid PLT rebuild when files deleted on new dialyzer
|
|/ / |
|
|\ \
| | |
| | | |
Handle empty PLT or app when using dialyzer
|