Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle force flags in leading position | Fred Hebert | 2015-11-19 | 1 | -1/+38 |
| | | | | The checking of flags and the parsing of arguments is separated up. | ||||
* | error on ct/eunit argument errors instead of warning | alisdair sullivan | 2015-11-15 | 2 | -11/+132 |
| | |||||
* | calculate coverage info as late as possible in ct provider execution | alisdair sullivan | 2015-11-05 | 1 | -2/+36 |
| | |||||
* | Merge pull request #905 from talentdeficit/cover_fixes | Tristan Sloughter | 2015-11-04 | 1 | -6/+19 |
|\ | | | | | fixes for cover under new compiler/eunit/ct | ||||
| * | fixes for cover under new compiler/eunit/ct | alisdair sullivan | 2015-11-01 | 1 | -6/+19 |
| | | | | | | | | | | | | * 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 | ||||
* | | reenable support for most command line options and rename `ct_tests` to ↵ | alisdair sullivan | 2015-11-01 | 1 | -3/+400 |
| | | | | | | | | `ct_opts` | ||||
* | | refactor `rebar_prv_common_test` | alisdair sullivan | 2015-11-01 | 1 | -167/+144 |
| | | | | | | | | | | | | | | | | * 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 #900 from fishcakez/dialyzer-missing | Tristan Sloughter | 2015-11-01 | 1 | -2/+32 |
|\ \ | |/ |/| | Rebuild PLT when beams no longer exist | ||||
| * | Rebuild PLT when beams no longer exist | James Fish | 2015-10-31 | 1 | -2/+32 |
| | | |||||
* | | Merge pull request #895 from talentdeficit/delay_eunit_validation | Fred Hebert | 2015-11-01 | 1 | -6/+12 |
|\ \ | |/ |/| | delay validation of eunit tests until just before running | ||||
| * | delay validation of eunit tests until just before running | alisdair sullivan | 2015-10-30 | 1 | -6/+12 |
| | | |||||
* | | dedup `src_dirs` and `extra_src_dirs` on read | alisdair sullivan | 2015-10-30 | 2 | -12/+12 |
|/ | |||||
* | refactor `rebar_erlc_compiler` | alisdair sullivan | 2015-10-26 | 7 | -94/+679 |
| | | | | | | | | | | | | | | | | | | | * 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 | -30/+1 |
| | | | | | | compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443. | ||||
* | Support proper paths in non-erl first files | Fred Hebert | 2015-10-12 | 1 | -2/+51 |
| | | | | | This passes the directory to the option to ensure it works with more than configs at the root of the project. | ||||
* | Tests for warnings | Fred Hebert | 2015-10-05 | 1 | -2/+32 |
| | |||||
* | shiny and new test suite for eunit provider | alisdair sullivan | 2015-09-29 | 6 | -518/+422 |
| | |||||
* | fix test names in `eunit_test_SUITE` | alisdair sullivan | 2015-09-29 | 1 | -46/+46 |
| | |||||
* | inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macro | alisdair sullivan | 2015-09-29 | 2 | -5/+78 |
| | | | | prior to running compile and compile prehooks | ||||
* | add `application' flag and additional tests | alisdair sullivan | 2015-09-29 | 1 | -9/+74 |
| | |||||
* | add `error_on_warning' option to eunit provider | alisdair sullivan | 2015-09-29 | 1 | -24/+78 |
| | |||||
* | reworked eunit provider to allow access to full range of eunit tests | alisdair sullivan | 2015-09-29 | 1 | -96/+38 |
| | |||||
* | add test to not upgrade unrelated transitive dep during upgrade | Tristan Sloughter | 2015-09-26 | 1 | -1/+21 |
| | |||||
* | only upgrade children and transitive children of dep being upgraded | Tristan Sloughter | 2015-09-26 | 1 | -2/+8 |
| | | | | | | | | | | This commit replaces the method of upgrading by unlocking all transitive deps by one that utilizes the parent element of each app to only unlock transitive deps of children of the top level deps being upgraded. Additionally the run function of upgrade_SUITE is modified to only create the mock updates before the upgrade provider is run, instead of before any provider is run, which would cause improper behavior in install_deps. | ||||
* | Merge pull request #837 from talentdeficit/extract_path_utils | Fred Hebert | 2015-09-25 | 1 | -2/+2 |
|\ | | | | | fix canonical path tests on windows | ||||
| * | fix canonical path tests on windows | alisdair sullivan | 2015-09-25 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #826 from talentdeficit/expose_more_sources | Fred Hebert | 2015-09-25 | 1 | -2/+31 |
|\ \ | | | | | | | add an export to allow specifing arbitrary extra erl files to be compiled | ||||
| * | | add an export to allow specifing arbitrary extra erl files to be compiled | alisdair sullivan | 2015-09-21 | 1 | -2/+31 |
| | | | | | | | | | | | | to `rebar_erlc_compiler` | ||||
* | | | Merge pull request #806 from talentdeficit/ct_data_dir_tests | Fred Hebert | 2015-09-25 | 1 | -4/+15 |
|\ \ \ | | | | | | | | | test for ensuring `data_dir` is set correctly in ct configs | ||||
| * | | | add comment for `data_dir' test in `rebar_ct_SUITE' | alisdair sullivan | 2015-09-14 | 1 | -0/+1 |
| | | | | |||||
| * | | | test for ensuring `data_dir` is set correctly in ct configs | alisdair sullivan | 2015-09-14 | 1 | -4/+14 |
| |/ / | | | | | | | | | | | | | | | | this test almost certainly only fails under very limited circumstances limiting it's utility. it is known to fail with some versions of rebar3 when this test is run via `rebar3 ct --cover` | ||||
* | | | Merge pull request #800 from talentdeficit/extract_path_utils | Fred Hebert | 2015-09-25 | 2 | -7/+55 |
|\ \ \ | | |/ | |/| | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and add tests | ||||
| * | | function name changes: | alisdair sullivan | 2015-09-14 | 1 | -18/+18 |
| | | | | | | | | | | | | | | | `reduce_path/1` -> `canonical_path/1` `relative_path/2` -> `path_from_ancestor/2` | ||||
| * | | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and | alisdair sullivan | 2015-09-13 | 2 | -7/+55 |
| |/ | | | | | | | add tests | ||||
* | | handle newly added deps to config even when lock is empty | Tristan Sloughter | 2015-09-24 | 1 | -1/+33 |
| | | |||||
* | | Fix for R15B03 | Takeru Ohta | 2015-09-12 | 1 | -3/+5 |
| | | |||||
* | | Change option name from "plt_include_all_deps" to "plt_apps" | Takeru Ohta | 2015-09-12 | 1 | -6/+6 |
| | | |||||
* | | Add a testcase for 'plt_include_all_deps' dialyzer option | Takeru Ohta | 2015-09-08 | 1 | -2/+69 |
| | | |||||
* | | Add rebar_localfs_resource module for testing purposes | Takeru Ohta | 2015-09-08 | 1 | -0/+38 |
|/ | |||||
* | add test for 'rebar3 plugins list' to ensure it can run | Tristan Sloughter | 2015-09-06 | 1 | -1/+8 |
| | |||||
* | hooks/artifacts are always run/resolved from an app unless at top of umbrella | Tristan Sloughter | 2015-09-06 | 1 | -4/+18 |
| | |||||
* | Merge pull request #760 from tsloughter/app_info_state | Fred Hebert | 2015-09-03 | 3 | -29/+28 |
|\ | | | | | move state into app_info | ||||
| * | remove state record from app_info record | Tristan Sloughter | 2015-08-31 | 1 | -2/+1 |
| | | |||||
| * | wip: move state into app_info | Tristan Sloughter | 2015-08-31 | 2 | -27/+27 |
| | | |||||
* | | Revert "Revert "only load packages when needed"" | Fred Hebert | 2015-09-02 | 1 | -1/+1 |
| | | |||||
* | | Revert "only load packages when needed" | Fred Hebert | 2015-09-02 | 1 | -1/+1 |
| | | |||||
* | | only load packages when needed | Tristan Sloughter | 2015-09-02 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #716 from talentdeficit/eunit_file_arg | Fred Hebert | 2015-08-27 | 1 | -2/+58 |
|\ | | | | | add support for `rebar3 eunit --file=...' | ||||
| * | add support for `rebar3 eunit --file=...' | alisdair sullivan | 2015-08-15 | 1 | -2/+58 |
| | | |||||
* | | Merge pull request #748 from tsloughter/pkg_attribute | Fred Hebert | 2015-08-27 | 2 | -1/+145 |
|\ \ | | | | | | | support pkg attribute on dep to declare package name different from app name |