summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* use `cover:analyse(cover:modules())` for tests instead of `cover:analyse()`alisdair sullivan2016-08-271-1/+1
| | | | `cover:analyse/0` didn't exist pre-otp18
* reset accumulated coverdata on writing out to disk. this preventsalisdair sullivan2016-08-272-2/+21
| | | | | provider chains like `eunit, ct, proper` from misreporting cover stats from providers later in the sequence
* Merge pull request #1315 from ferd/fix-hashcheck-noindexFred Hebert2016-08-271-1/+10
|\ | | | | Fix crash when doing hash check with missing index
| * Fix crash when doing hash check with missing indexFred Hebert2016-08-271-1/+10
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1314 from ferd/cover_excl_modsalisdair sullivan2016-08-273-13/+59
|\ \ | |/ |/| Cover excl mods
| * Re-format cover exclusion codeFred Hebert2016-08-271-17/+26
| | | | | | | | | | | | - 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
| * Add test suite for cover_excl_mods optionFred Hebert2016-08-271-2/+28
| |
| * Merge branch 'cover_excl_mods' of https://github.com/lpgauth/rebar3 into ↵Fred Hebert2016-08-272-15/+26
| |\ |/ / | | | | lpgauth-cover_excl_mods
| * Add support for cover_excl_modsLouis-Philippe Gauthier2016-06-152-15/+26
| |
* | Returning to git-based taggingFred Hebert2016-08-261-1/+1
| |
* | Bumping to 3.3.0Fred Hebert2016-08-262-2/+2
| |
* | Merge pull request #1312 from ferd/compatible-trim_allFred Hebert2016-08-251-1/+1
|\ \ | | | | | | Equivalent trim_all in bin split for <17.x
| * | Equivalent trim_all in bin split for <17.xFred Hebert2016-08-251-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #1311 from tsloughter/relx-3.21.0Fred Hebert2016-08-252-3/+3
|\ \ | | | | | | upgrade relx to 3.21.0
| * | upgrade relx to 3.21.0Tristan Sloughter2016-08-252-3/+3
|/ /
* | Merge pull request #1308 from ferd/edocs-multiappFred Hebert2016-08-2514-9/+347
|\ \ | | | | | | Fix Edoc cross-links in umbrella projects
| * | Add tests for multi-app edoc linking workingFred Hebert2016-08-2513-0/+321
| | |
| * | Make Edoc carry paths of pre-built librariesFred Hebert2016-08-251-9/+26
|/ / | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #1300 from raek/masteralisdair sullivan2016-08-151-1/+4
|\ \ | | | | | | Print error on too many help arguments
| * | Print error on too many help argumentsRasmus Svensson2016-08-151-1/+4
|/ / | | | | | | | | | | | | 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>
* | Merge pull request #1299 from ferd/hookable-escriptFred Hebert2016-08-142-2/+11
|\ \ | | | | | | Hookable escript
| * | Use hooks to generate rebar3 executable fasterFred Hebert2016-08-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Make the escriptize provider hookableFred Hebert2016-08-131-2/+7
|/ / | | | | | | This will allow to move and modify the generated files
* | Merge pull request #1298 from ferd/escript-filter-paths-fixFred Hebert2016-08-101-1/+3
|\ \ | | | | | | Fix filtering of system libraries in escriptize
| * | Fix filtering of system libraries in escriptizeFred Hebert2016-08-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1288 from ElectronicRU/masterFred Hebert2016-08-101-1/+1
|\ \ \ | | | | | | | | Typo fix.
| * | | Typo fix.Alexander Sedov2016-08-041-1/+1
| | | |
* | | | Merge pull request #1282 from ssbx/custom_template_dirFred Hebert2016-08-102-2/+3
|\ \ \ \ | | | | | | | | | | template_dir option was forgotten in documentation plus recurse in di…
| * | | | template_dir option was forgotten in documentation plus recurse in directory ↵Sébastien Serre2016-07-232-2/+3
| | | | | | | | | | | | | | | | | | | | added
* | | | | Merge pull request #1291 from waisbrot/catch-missing-appFred Hebert2016-08-102-3/+31
|\ \ \ \ \ | |_|_|/ / |/| | | | Handle `escriptize` when the specified app is missing
| * | | | Handle `escriptize` when the specified app is missingNathaniel Waisbrot2016-08-042-3/+31
| | |/ / | |/| | | | | | | | | | | | | | When rebar.config contains a `escript_main_app` option, but the specified app doesn't exist in the build directory, print an error.
* | | | Merge pull request #1297 from brigadier/patch-1Fred Hebert2016-08-091-0/+1
|\ \ \ \ | |/ / / |/| | | Ignore IntelliJ IDEA files
| * | | Ignore IntelliJ IDEA filesEvgeny M2016-08-091-0/+1
|/ / / | | | | | | This family of IDE with Erlang plugin is already quite popular.
* | | Merge pull request #1274 from deadtrickster/ssl_verify_fun_bumpFred Hebert2016-08-014-37/+29
|\ \ \ | | | | | | | | ssl_verify_hostname was renamed to ssl_verify_fun
| * | | ssl_verify_hostname was renamed to ssl_verify_funIlya Khaprov2016-07-154-37/+29
| | | |
* | | | Merge pull request #1270 from ferd/add-issue-templatealisdair sullivan2016-07-311-0/+31
|\ \ \ \ | | | | | | | | | | Add issue template to help people fill tickets
| * | | | Add issue template to help people fill ticketsFred Hebert2016-07-121-0/+31
| | | | |
* | | | | Merge pull request #1279 from gbour/fix-dialyzeralisdair sullivan2016-07-311-0/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | fix catching `not_valid` error on dialyzer
| * | | | Fix return error on `not_valid` to force .plt file regenerationGuillaume Bour2016-07-301-2/+1
| | | | |
| * | | | Fix support for `not_valid` dialyzer errorGuillaume Bour2016-07-221-0/+3
| | |/ / | |/| |
* | | | Merge pull request #1280 from ferd/fix-warning-optsFred Hebert2016-07-221-1/+7
|\ \ \ \ | |/ / / |/| | | Fix opts check when compiler called with dict opts
| * | | Fix opts check when compiler called with dict optsFred Hebert2016-07-221-1/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #1268 from stuart-thackray/relx_upgrade_3.20.0Fred Hebert2016-07-122-3/+3
|\ \ \ | |/ / |/| | Relx upgrade to version 3.20.0
| * | rebar update relxStuart Thackray2016-07-121-2/+2
| | |
| * | upgrade relx versionStuart Thackray2016-07-121-1/+1
|/ /
* | Merge pull request #1266 from ferd/add-otp-19-travisFred Hebert2016-07-111-0/+1
|\ \ | | | | | | Add OTP 19.0 to travis
| * | Add OTP 19.0 to travisFred Hebert2016-07-111-0/+1
|/ /
* | Merge pull request #1265 from fishcakez/avoid-rebuildFred Hebert2016-07-111-3/+16
|\ \ | | | | | | Avoid PLT rebuild when files deleted on new dialyzer
| * | Avoid PLT rebuild when files deleted on new dialyzerJames Fish2016-07-111-3/+16
|/ /
* | Merge pull request #1262 from fishcakez/empty-pltFred Hebert2016-07-112-7/+96
|\ \ | | | | | | Handle empty PLT or app when using dialyzer