Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Feature: rebar shell [--script <FILE>] | Geoff Cant | 2015-11-13 | 1 | -29/+131 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the ability to run an escript before starting the apps and interactive shell for a project. This is intended to improve the local development experience for projects by providing an easy way to run companion services (mock rest APIs, databases etc) that the project relies on. This patch also adds {shell, Defaults} to the rebar config file so that a project can supply default values for many of the new or improved 'rebar3 shell' options: * {apps, OTPApps} * {script_file, EscriptFileName} * {config, ConfigFileName} The order of option precedence is command line, rebar.config, relx. | |||||
* | | Merge pull request #917 from ferd/ct-readable | Fred Hebert | 2015-11-13 | 2 | -2/+36 | |
|\ \ | | | | | | | Prettify all of common test output. | |||||
| * | | Optionally disable readable output | Fred Hebert | 2015-11-13 | 1 | -10/+26 | |
| | | | ||||||
| * | | Add cth_readable to dep list | Fred Hebert | 2015-11-13 | 1 | -0/+1 | |
| | | | ||||||
| * | | Prettify all of common test output. | Fred Hebert | 2015-11-13 | 1 | -2/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses cth_readable to: - silence error_logger output to the shell unless a test fails - silence ct:pal output to the shell unless a test fails I have currently not baked in any way to disable this behaviour, but I figured if it is required, there is time to do it before the final 3.0.0 release. | |||||
* | | | fix typo of guarantee. h/t evan | Tristan Sloughter | 2015-11-12 | 1 | -1/+1 | |
|/ / | ||||||
* | | do not sort mib_first_files during merge_opts, order must be kept | Tristan Sloughter | 2015-11-07 | 1 | -0/+4 | |
| | | ||||||
* | | calculate coverage info as late as possible in ct provider execution | alisdair sullivan | 2015-11-05 | 1 | -3/+4 | |
| | | ||||||
* | | Merge pull request #905 from talentdeficit/cover_fixes | Tristan Sloughter | 2015-11-04 | 1 | -14/+18 | |
|\ \ | | | | | | | fixes for cover under new compiler/eunit/ct | |||||
| * | | fixes for cover under new compiler/eunit/ct | alisdair sullivan | 2015-11-01 | 1 | -14/+18 | |
| | | | | | | | | | | | | | | | | | | * only try to cover compile directories that actually exist * recover from failures where source files don't contain required attributes for cover compilation and print warning | |||||
* | | | add warning about `auto_compile` | alisdair sullivan | 2015-11-02 | 1 | -3/+10 | |
| | | | ||||||
* | | | reenable support for most command line options and rename `ct_tests` to ↵ | alisdair sullivan | 2015-11-01 | 1 | -8/+35 | |
| | | | | | | | | | | | | `ct_opts` | |||||
* | | | support atom suites in `ct_tests` | alisdair sullivan | 2015-11-01 | 1 | -17/+29 | |
| | | | ||||||
* | | | refactor `rebar_prv_common_test` | alisdair sullivan | 2015-11-01 | 1 | -373/+311 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * remove partial support for ct `test_spec` until it can be done properly and warn if `test_spec` is present in test opts * use new compiler functionality to reduce complexity of provider * reduce command line options available to those that can be supported properly | |||||
* | | | Merge pull request #906 from tsloughter/plugins_list_fix | Fred Hebert | 2015-11-01 | 1 | -12/+15 | |
|\ \ \ | | | | | | | | | fix #903: use app discover of entire plugins dir when listing | |||||
| * | | | fix #903: use app discover of entire plugins dir when listing | Tristan Sloughter | 2015-11-01 | 1 | -12/+15 | |
| | | | | ||||||
* | | | | Merge pull request #900 from fishcakez/dialyzer-missing | Tristan Sloughter | 2015-11-01 | 1 | -5/+16 | |
|\ \ \ \ | | | | | | | | | | | Rebuild PLT when beams no longer exist | |||||
| * | | | | Rebuild PLT when beams no longer exist | James Fish | 2015-10-31 | 1 | -5/+16 | |
| | | | | | ||||||
* | | | | | add an option to soft purge rather than purge old code | alisdair sullivan | 2015-11-01 | 3 | -10/+12 | |
| |_|/ / |/| | | | | | | | | | | | | | | | at the cost of some SASL warnings this prevents rebar3 from terminating processes when reloading their code before running tests | |||||
* | | | | Merge pull request #895 from talentdeficit/delay_eunit_validation | Fred Hebert | 2015-11-01 | 1 | -23/+24 | |
|\ \ \ \ | |_|_|/ |/| | | | delay validation of eunit tests until just before running | |||||
| * | | | delay validation of eunit tests until just before running | alisdair sullivan | 2015-10-30 | 1 | -23/+24 | |
| | |/ | |/| | ||||||
* | | | prevent rebar3 from reloading it's own path and terminating itself | alisdair sullivan | 2015-10-31 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | prevents code reloading by temporary marking of rebar3's ebin dir as sticky during code refresh | |||||
* | | | Merge pull request #896 from talentdeficit/test_bootstrap | Tristan Sloughter | 2015-10-31 | 2 | -21/+23 | |
|\ \ \ | |_|/ |/| | | move test profile bootstrap into core | |||||
| * | | move test profile bootstrap into core | alisdair sullivan | 2015-10-30 | 2 | -21/+23 | |
| |/ | ||||||
* | | dedup `src_dirs` and `extra_src_dirs` on read | alisdair sullivan | 2015-10-30 | 1 | -3/+3 | |
|/ | ||||||
* | only clean project apps once even when doing --all | Tristan Sloughter | 2015-10-27 | 1 | -8/+8 | |
| | ||||||
* | Merge pull request #883 from talentdeficit/erlc_compiler_refactor | Tristan Sloughter | 2015-10-27 | 7 | -229/+430 | |
|\ | | | | | compiler refactor/eunit & ct fixes | |||||
| * | remove unnecessary filtering of checkapps from project apps in `rebar_prv_eunit` | alisdair sullivan | 2015-10-26 | 1 | -16/+4 | |
| | | ||||||
| * | restore debug calls to `rebar_erlc_compiler` and `rebar_prv_eunit` | alisdair sullivan | 2015-10-26 | 2 | -9/+11 | |
| | | ||||||
| * | refactor `rebar_erlc_compiler` | alisdair sullivan | 2015-10-26 | 7 | -209/+427 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * modify compiler interface to work on either application objects or directories containing source files * compile all sources in `src_dirs` to the application `ebin` dir and all sources in `extra_src_dirs` to a directory mirroring it's position in the app's `_build` directory. for example, `apps/foo/more` would compile to `_build/default/lib/foo/more` for `extra_src_dirs` in the root of a project with multiple applications (so orphan directories that don't "belong" to an application) compile to `_build/default/extras/more` * copy directories specified in `extra_src_dirs` into the `_build` directory so tools like `ct` and `xref` that expect source to be in a particular location still work * clean compiled artifacts from all `extra_src_dirs` * alter `eunit`, `ct` and `cover` to work with the new directory structure * billions of new tests | |||||
| * | Revert "add an export to allow specifing arbitrary extra erl files to be ↵ | alisdair sullivan | 2015-10-26 | 1 | -7/+0 | |
| | | | | | | | | | | | | compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443. | |||||
* | | return more useful error message (failed to download) when pkg http req fails | Tristan Sloughter | 2015-10-26 | 1 | -12/+16 | |
| | | ||||||
* | | Allow non-default checkouts dir for relx | Fred Hebert | 2015-10-17 | 1 | -1/+1 | |
| | | | | | | | | fixes #872 | |||||
* | | Added comments to explain the utf8 symbols Binary | Byaruhanga Franklin | 2015-10-14 | 1 | -3/+3 | |
| | | ||||||
* | | removing the /utf8 flag and using the the exact utf-8 value in bytes | Byaruhanga Franklin | 2015-10-13 | 1 | -3/+3 | |
| | | | | | | removing the /utf8 flag and using the the exact utf-8 value in bytes to make it compatible with compilers <17 | |||||
* | | Fix for issue #859 - unicode rendering of deps tree based on PR #865 | Byaruhanga Franklin | 2015-10-13 | 1 | -3/+3 | |
|/ | | | | Fix for issue #859 - unicode rendering of deps tree based on PR #865 modified PR #865 to the /utf8 flag indicates this is supposed to be a UTF8 string. | |||||
* | Support proper paths in non-erl first files | Fred Hebert | 2015-10-12 | 1 | -6/+6 | |
| | | | | | This passes the directory to the option to ensure it works with more than configs at the root of the project. | |||||
* | add ERLANG_ARCH and ERLANG_TARGET to os env for hooks | Tristan Sloughter | 2015-10-05 | 1 | -1/+4 | |
| | ||||||
* | Merge branch 'no_profile' of https://github.com/tsloughter/rebar3 into ↵ | Fred Hebert | 2015-10-05 | 1 | -0/+12 | |
|\ | | | | | | | tsloughter-no_profile | |||||
| * | print a warning if a profile in 'as' has no config entry | Tristan Sloughter | 2015-10-03 | 1 | -0/+12 | |
| | | ||||||
* | | if not in a git repo but have 'git' as vsn, fallback to 0.0.0 | Tristan Sloughter | 2015-10-04 | 1 | -23/+30 | |
|/ | ||||||
* | Bump to beta-3 | Fred Hebert | 2015-10-01 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #828 from project-fifo/nice-dialyzer | Fred Hebert | 2015-09-30 | 2 | -107/+128 | |
|\ | | | | | Group dialyzer warnings by file and concentrate output | |||||
| * | Add some documentaiton. | Heinz N. Gies | 2015-09-29 | 1 | -8/+31 | |
| | | ||||||
| * | Fix sub string highlighting for form positions | Heinz N. Gies | 2015-09-29 | 1 | -7/+4 | |
| | | ||||||
| * | Add colour for 'the call comtains' message | Heinz N. Gies | 2015-09-29 | 1 | -1/+1 | |
| | | ||||||
| * | Return legnth of the original warnings no the formated ones | Heinz N. Gies | 2015-09-29 | 1 | -1/+1 | |
| | | ||||||
| * | Fix error messages that were not resetting color | Heinz N. Gies | 2015-09-29 | 1 | -4/+3 | |
| | | ||||||
| * | Group dialyzer warnings by file and concentrate output | Heinz N. Gies | 2015-09-29 | 2 | -88/+90 | |
| | | ||||||
* | | Merge pull request #847 from zugolosian/disable_ssl_verify_option | Tristan Sloughter | 2015-09-30 | 1 | -0/+18 | |
|\ \ | | | | | | | Add support for disabling ssl verification for hex |