summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Feature: rebar shell [--script <FILE>]Geoff Cant2015-11-131-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-readableFred Hebert2015-11-134-3/+39
|\ | | | | Prettify all of common test output.
| * Optionally disable readable outputFred Hebert2015-11-131-10/+26
| |
| * Add cth_readable to dep listFred Hebert2015-11-131-0/+1
| |
| * Work in R15Fred Hebert2015-11-132-2/+2
| |
| * Prettify all of common test output.Fred Hebert2015-11-133-3/+22
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #915 from tsloughter/typoFred Hebert2015-11-121-1/+1
|\ \ | |/ |/| fix typo of guarantee. h/t evan
| * fix typo of guarantee. h/t evanTristan Sloughter2015-11-121-1/+1
| |
* | Merge pull request #912 from tsloughter/mib_first_filesFred Hebert2015-11-121-0/+4
|\ \ | |/ | | do not sort mib_first_files during merge_opts, order must be kept
| * do not sort mib_first_files during merge_opts, order must be keptTristan Sloughter2015-11-071-0/+4
|/
* Merge pull request #911 from tsloughter/relx_3.8.0Fred Hebert2015-11-062-2/+2
|\ | | | | upgrade relx to 3.8.0, fixes bug in upgrade_install escript
| * upgrade relx to 3.8.0, fixes bug in upgrade_install escriptTristan Sloughter2015-11-062-2/+2
| |
* | Merge pull request #907 from talentdeficit/ct_coverage_fixTristan Sloughter2015-11-052-5/+40
|\ \ | |/ |/| calculate coverage info as late as possible in ct provider execution
| * calculate coverage info as late as possible in ct provider executionalisdair sullivan2015-11-052-5/+40
|/
* Merge pull request #905 from talentdeficit/cover_fixesTristan Sloughter2015-11-042-20/+37
|\ | | | | fixes for cover under new compiler/eunit/ct
| * fixes for cover under new compiler/eunit/ctalisdair sullivan2015-11-012-20/+37
| | | | | | | | | | | | * 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
* | Merge pull request #894 from talentdeficit/ct_test_specsFred Hebert2015-11-035-568/+933
|\ \ | | | | | | rebar_prv_common_test refactor
| * | add warning about `auto_compile`alisdair sullivan2015-11-021-3/+10
| | |
| * | adjust shell completions to match available command line optionsalisdair sullivan2015-11-013-31/+38
| | |
| * | reenable support for most command line options and rename `ct_tests` to ↵alisdair sullivan2015-11-012-11/+435
| | | | | | | | | | | | `ct_opts`
| * | support atom suites in `ct_tests`alisdair sullivan2015-11-011-17/+29
| | |
| * | refactor `rebar_prv_common_test`alisdair sullivan2015-11-012-540/+455
|/ / | | | | | | | | | | | | | | * 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_fixFred Hebert2015-11-012-13/+16
|\ \ | | | | | | fix #903: use app discover of entire plugins dir when listing
| * | fix #903: use app discover of entire plugins dir when listingTristan Sloughter2015-11-012-13/+16
| | |
* | | Merge pull request #900 from fishcakez/dialyzer-missingTristan Sloughter2015-11-012-7/+48
|\ \ \ | | | | | | | | Rebuild PLT when beams no longer exist
| * | | Rebuild PLT when beams no longer existJames Fish2015-10-312-7/+48
| | | |
* | | | Merge pull request #904 from talentdeficit/soft_purge_optTristan Sloughter2015-11-013-10/+12
|\ \ \ \ | |_|_|/ |/| | | add an option to soft purge rather than purge old code
| * | | add an option to soft purge rather than purge old codealisdair sullivan2015-11-013-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_validationFred Hebert2015-11-012-29/+36
|\ \ \ | | | | | | | | delay validation of eunit tests until just before running
| * | | delay validation of eunit tests until just before runningalisdair sullivan2015-10-302-29/+36
| | | |
* | | | Merge pull request #901 from talentdeficit/prevent_purge_terminationTristan Sloughter2015-10-311-1/+7
|\ \ \ \ | | | | | | | | | | prevent rebar3 from reloading it's own path and terminating itself
| * | | | prevent rebar3 from reloading it's own path and terminating itselfalisdair sullivan2015-10-311-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_bootstrapTristan Sloughter2015-10-312-21/+23
|\ \ \ \ | |_|/ / |/| | | move test profile bootstrap into core
| * | | move test profile bootstrap into corealisdair sullivan2015-10-302-21/+23
| |/ /
* | | Merge pull request #898 from talentdeficit/dedup_src_dirsTristan Sloughter2015-10-313-15/+15
|\ \ \ | |/ / |/| | dedup `src_dirs` and `extra_src_dirs` on read
| * | dedup `src_dirs` and `extra_src_dirs` on readalisdair sullivan2015-10-303-15/+15
|/ /
* | Merge pull request #890 from tsloughter/clean_app_fixFred Hebert2015-10-271-8/+8
|\ \ | |/ | | only clean project apps once even when doing --all
| * only clean project apps once even when doing --allTristan Sloughter2015-10-271-8/+8
|/
* Merge pull request #883 from talentdeficit/erlc_compiler_refactorTristan Sloughter2015-10-2715-352/+1110
|\ | | | | compiler refactor/eunit & ct fixes
| * remove unnecessary filtering of checkapps from project apps in `rebar_prv_eunit`alisdair sullivan2015-10-261-16/+4
| |
| * restore debug calls to `rebar_erlc_compiler` and `rebar_prv_eunit`alisdair sullivan2015-10-262-9/+11
| |
| * refactor `rebar_erlc_compiler`alisdair sullivan2015-10-2615-303/+1107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 sullivan2015-10-262-37/+1
| | | | | | | | | | | | compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443.
* | Merge pull request #886 from tsloughter/pkg_updateFred Hebert2015-10-261-12/+16
|\ \ | | | | | | return more useful error message (failed to download) when pkg http req fails
| * | return more useful error message (failed to download) when pkg http req failsTristan Sloughter2015-10-261-12/+16
|/ /
* | Merge pull request #881 from project-fifo/cf-updateFred Hebert2015-10-182-2/+2
|\ \ | | | | | | Bump cf for fixing #879
| * | Bump cf for fixing #879Heinz N. Gies2015-10-182-2/+2
|/ /
* | Merge pull request #877 from ferd/fix-checkouts-relxTristan Sloughter2015-10-171-1/+1
|\ \ | | | | | | Allow non-default checkouts dir for relx
| * | Allow non-default checkouts dir for relxFred Hebert2015-10-171-1/+1
|/ / | | | | | | fixes #872
* | Merge pull request #867 from byaruhaf/patch-1Fred Hebert2015-10-151-3/+3
|\ \ | | | | | | Fix for issue #859 - unicode rendering of deps tree based on PR #865