summaryrefslogtreecommitdiff
path: root/rebar.config
Commit message (Collapse)AuthorAgeFilesLines
* upgrade bbmustache to 1.5.0Tristan Sloughter2018-06-121-1/+1
|
* Logger OTP-21-rc2 supportFred Hebert2018-05-301-1/+1
| | | | Also small output fix in rebar3 shell
* Restore default templates in bootstrapped rebar3Fred Hebert2018-05-091-0/+4
| | | | | | | | | | | | | | When allowing Dialyzer to work internally, we moved a bunch of config (such as no_debug_info) to the prod profile, but the escript included files remained locked onto the default profile. Because the bootstrapping phase now happened in a prod run, the priv/ dirs were never created for the default profile unless a prior run existed, which hid the bug from us. This patch overrides the path on the prod profile so that we don't rely on accidental leftovers for things to work on a bootstrap phase as a dev.
* start at least one async thread in async thread poolGrigory Starinkin2018-05-081-2/+1
| | | | | fixes an issue when shell is terminated with an error "Bus error: 10", on attempt to run rebar shell with verbose logging
* Logger support in cth_readable; compact CT outputFred Hebert2018-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | cth_readable 1.4.0 supports the new logger interface from OTP-21, which likely breaks compatibility with R16 builds. It also includes a new compact interface, displaying output such as: ===> Running Common Test suites... %%% rebar_alias_SUITE: ...... %%% rebar_as_SUITE: ........... %%% rebar_compile_SUITE:................................ ............................ %%% rebar_compile_SUITE ==> test_name: SKIPPED %%% rebar_compile_SUITE ==> {tc_user_skip,"compile:env_compiler_options/0 available"} .. %%% rebar_cover_SUITE: ............. %%% rebar_ct_SUITE: .................................... Allowing to display more tests within less screen space. This mode has been added to the ct_readable option under the name 'compact' (now supporting true | false | compact), and has been made default for rebar3.
* Re-disable debug_info on prod profileFred Hebert2018-05-031-0/+1
| | | | Had mistakenly only disabled it for deps.
* Work around OTP-21 deprecation of get_stacktrace()Fred Hebert2018-05-031-0/+2
| | | | Based off a macro by @okeuday at https://github.com/erlang/otp/pull/1783
* Update erlware_commons for stacktraces supportFred Hebert2018-05-031-1/+1
|
* Bump cth_readable to 1.3.4: restor eunit formatFred Hebert2018-04-221-1/+1
|
* Fix various Dialyzer warningsFred Hebert2018-04-201-1/+4
| | | | | | | | | Some still remain from erl_type calls from Dialyzer, but most of them are handled. Decided to just ignore rebar_alias since playing with the type specs of abstract code format is just a nightmare and hard to do cross-versions I guess.
* Make rebar3 work with dialyzer internallyFred Hebert2018-04-141-31/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We got funny interactions since PR #1656: - the last `debug_info`-related option seen in a list of options after profile merge is kept, allowing later profiles from overtaking earlier ones - if you go `rebar3 as a,b,c compile`, the options from profile A come before B, which come before C, so C's options win - overrides are applied in order of profile as well, giving a priority to a later profile than an earlier one - The values in overrides are prepended rather than suffixed to the existing list - this means if we have to overrides adding options, such as `default` adding `no_debug_info', and `dialyze` adding `debug_info`, the results are `[debug_info]` as `dialyze` is applied first, and then `[no_debug_info, debug_info]` as `default` overrides are applied - the final result is `no_debug_info` always winning when erl_opts are overriden specifically. only `debug_info` options are going to suffer this, and in the context of overrides. Other `erl_opts` should be fine. I'm not sure how that can be fixed at all. In the meanwhile, we can add support back while leaving the default to not having debug information. This is done by: - moving all `no_debug_info` options to the `prod` profile - forcing `prod` to be called by `./bootstrap` so that most people keep getting no debug info - anyone calling `rebar3 clean -a` and then rebuilding with `rebar3 escriptize` (i.e. rebar3 devs) get debug info going This is up for review and discussion.
* Bump cth_readable to 1.3.3Fred Hebert2018-04-031-1/+1
| | | | Fixes some lager warnings since config changes
* upgrade erlware commons and relxTristan Sloughter2018-02-031-2/+2
|
* Fix Plugin path handling (again!)Fred Hebert2017-12-041-0/+4
| | | | | | | | | | | | | | | | | | | The path reloading of plugins had been fixed properly, but the problem is that the paths it was using to re-load only considered the current compile step, rather than the overall state of plugins. As such, the reloaded paths after plugin compilation only reloaded the *latest* plugin and not the other ones. This fix forces the addition of all built plugin paths to the code paths after a plugin compile job is run. This ensures that the path is clean for initial plugin deps (only add those that are required), and is re-made total after the fact (add all the plugins possible). This commit also includes a system tests suite that can be run optionally; the problem with this plugin mechanism was impossible to find through mocked dependencies, and a working counterexample was provided to us. The systest suite can be run against real projects without conflict to make sure no regressions are hit.
* Merge pull request #1665 from ferd/bump-cth_readable-1.3.2Fred Hebert2017-11-221-1/+1
|\ | | | | Bump cth_readable to 1.3.2
| * Bump cth_readable to 1.3.2Fred Hebert2017-11-201-1/+1
| | | | | | | | Eliminates a lager warning due to config format deprecation
* | upgrade relx to 3.24.3Tristan Sloughter2017-11-211-1/+1
|/
* upgrade relx and erlware commonsTristan Sloughter2017-11-171-2/+2
|
* OTP-21 readiness, Full Unicode supportFred Hebert2017-11-161-7/+9
| | | | | | | | | | | | This replaces all deprecated function usage by alternative ones based on a version switch enacted at compile time, preventing all warnings. This will likely introduce some possible runtime errors in using a Rebar3 compiled on OTP-20 or OTP-21 back in versions 19 and earlier, but we can't really work around that. A bunch of dependencies have been updated to support OTP-21 without warnings as well.
* Update eunit_formatters to latest.Sean Cribbs2017-09-241-1/+1
|
* Merge pull request #1578 from ferd/bump-cth-show-groupsFred Hebert2017-08-071-1/+1
|\ | | | | Bump cth_readable to 1.3.0: shows test groups
| * Bump cth_readable to 1.3.0: shows test groupsFred Hebert2017-06-271-1/+1
| |
* | Also upgrade ssl_verify_fun while we're at itFred Hebert2017-07-311-1/+1
| |
* | Upgrade certifi dependenciesFred Hebert2017-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | Get more up-to-date root certs. This was blocked for a while because certifi wouldn't build on windows, but this is now fixed, with minimal changes to the use case -- only a small change in the bootstrap script is required. The new certifi lib is also a few megabytes lighter than before, which is good for rebar3.
* | upgrade relxTristan Sloughter2017-07-141-1/+1
| |
* | drop warnings for `export_all` in test profilealisdair sullivan2017-07-131-1/+1
| |
* | update meck for otp20alisdair sullivan2017-07-121-1/+1
|/
* upgrade relx to 3.23.0Tristan Sloughter2017-05-241-1/+1
|
* Bump cth_readable to 1.2.6Fred Hebert2017-05-121-1/+1
| | | | | | | | This fixes the output of end_per_testcase crash notifications when the test passes. This also detect an issue of the kind with rebar_pkg_SUITE which is now fixed.
* Adds support for new ct hook callbackFred Hebert2017-05-071-1/+1
|
* Bump relx to 3.22.4Luis Rascao2017-03-281-1/+1
|
* upgrade relx to 3.22.3Tristan Sloughter2017-03-201-1/+1
|
* Merge pull request #1494 from ferd/escript-generate-cmd-win32alisdair sullivan2017-02-271-1/+6
|\ | | | | Windows escripts get cmd autogenerated
| * make the hook for windows workFred Hebert2017-02-241-2/+4
| |
| * WIP windows escripts get cmd autogeneratedFred Hebert2017-02-241-1/+4
| |
* | Bump cth_readable to 1.2.4Fred Hebert2017-02-251-1/+1
|/ | | | | | Fixes an issue where some skipped test suites could end up misreported as the previous suite. See https://github.com/ferd/cth_readable/issues/10
* upgrade erlware_commons to 1.0.0 for OTP20 supportTristan Sloughter2017-01-101-1/+1
|
* upgrade relx to fixed hex package 3.22.2Tristan Sloughter2017-01-061-1/+1
|
* Bump relx to 3.22.1Luis Rascao2016-12-271-1/+1
|
* Upgrade relx, erlware_commons and cfLuis Rascao2016-11-271-3/+3
| | | | | | relx ~> 3.22.0 erlware_commons ~> 0.22.0 cf ~> 0.2.2
* upgrade relx to 3.21.1Tristan Sloughter2016-10-141-1/+1
|
* update bbmustache 1.3.0soranoba2016-09-171-1/+1
|
* upgrade relx to 3.21.0Tristan Sloughter2016-08-251-1/+1
|
* 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
* ssl_verify_hostname was renamed to ssl_verify_funIlya Khaprov2016-07-151-2/+2
|
* upgrade relx versionStuart Thackray2016-07-121-1/+1
|
* Escriptize based on configured apps onlyFred Hebert2016-06-261-1/+1
| | | | | | | | | | | | Prior to this patch, the escriptize command flat out selected all declared dependencies. This patch instead looks at the app files and only includes the dependencies of the top level app and the extra ones, avoiding to package more apps than required. This required a version bump on cth_readable as it mistakenly included 'syntax_lib' instead of 'syntax_tools' as a dependency.
* Test support for OTP-19Fred Hebert2016-05-241-0/+1
|
* update erlware_commons erl_opts overridesTristan Sloughter2016-05-131-0/+1
|
* upgrade erlware_commons for OTP-19 fixTristan Sloughter2016-05-131-1/+1
|