summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1979 from ferd/ct-failfastFred Hebert2018-12-182-4/+140
|\ | | | | Add a --fail_fast switch to common test
| * Add a --fail_fast switch to common testFred Hebert2018-12-172-4/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This switch aborts the rebar3 run after the first test failure is reported. Since Common Test does not support this feature and it can be useful for interactive development (a demand from one of the teams I work with), I decided to add the feature as an experimental CT hook. The hook notices any test failure, and forcefully aborts the current script execution, but only during the initialization phase of the next test; this ensure that all other hooks for a post-test failure have the time to do things right. The CT logs _will_ be interupted, and hooks of all kinds may also suffer. Since this might be a bit tricky to support internally, I will be fine with a review that results in "no, Fred. Please test this in a project plugin first" or if I get told to use profiles to mature the feature (i.e. `rebar3 as failfast ct ...`) with a custom hook declaration.
* | Merge pull request #1980 from tsloughter/ec-1.3.1Fred Hebert2018-12-182-3/+3
|\ \ | | | | | | bump erlware_commons to 1.3.1
| * | bump erlware_commons to 1.3.1Tristan Sloughter2018-12-182-3/+3
|/ /
* | Merge pull request #1976 from stuart-thackray/tidyDepExportFred Hebert2018-12-182-0/+17
|\ \ | |/ |/| re-expose download/3 for backwards compatibility in git deps related plugins
| * Code documentation that the PR was for backwards compatilityStuart Thackray2018-12-182-2/+11
| |
| * Merge remote-tracking branch 'origin/tidyDepExport' into tidyDepExportStuart Thackray2018-12-110-0/+0
| |\
| | * Revert "add rebar.lock to template gitignore"Stuart Thackray2018-12-111-4/+0
| | | | | | | | | This reverts commit 8fb8a91130e0e5c239bb837b9adc4ad71e5806b8.
| | * Tidy Deps plugin to provide the download/3Stuart Thackray2018-12-112-0/+8
| | | | | | | | | For issue https://github.com/erlang/rebar3/issues/1974
| * | Tidy Deps plugin to provide the download/3Stuart Thackray2018-12-113-4/+8
| |/ | | | | | | | | | | For issue https://github.com/erlang/rebar3/issues/1974 Revert "add rebar.lock to template gitignore" This reverts commit 8fb8a91130e0e5c239bb837b9adc4ad71e5806b8.
| * Update from UpstreamStuart Thackray2018-12-11189-3251/+13977
| |\ | |/ |/|
* | Merge pull request #1971 from ferd/fix-systest-suiteFred Hebert2018-12-081-1/+1
|\ \ | | | | | | Fixing systest to use up to date plugin
| * | Fixing systest to use up to date pluginFred Hebert2018-12-081-1/+1
|/ / | | | | | | prevents some failures when running
* | Merge pull request #1969 from sg2342/fix_compiler_mibFred Hebert2018-12-052-12/+91
|\ \ | | | | | | implement mib_first_files support in rebar_compiler_mib
| * | implement mib_first_files support in rebar_compiler_mibStefan Grundmann2018-12-051-3/+34
| | | | | | | | | | | | mostly copy/paste from rebar_compiler_erl
| * | check for mib_first_files regression in umbrella_mib_first_testStefan Grundmann2018-12-051-9/+57
|/ / | | | | | | | | | | | | consider A-MIB imports from B-MIB: rebar compile MUST FAIL if mib_first_files is ["mibs/A-MIB.mib"] rebar compile MUST SUCCEED if mib_first_files is ["mibs/B-MIB.mib"]
* | Merge pull request #1965 from starbelly/single-module-xref-supportFred Hebert2018-12-043-9/+39
|\ \ | | | | | | Support ignoring entire modules in xref results
| * | Support ignoring whole modules in xref resultsBryan Paxton2018-12-023-9/+39
| | | | | | | | | | | | | | | | | | | | | - Added support to rebar_prv_xref for filtering out whole module. A module may now be added to the list of xref_ignores in rebar.config or via -ignore_xref() module attribute - Added unit test for whole module filtering support to xref CT suite
* | | Merge pull request #1966 from aboroska/fix-upgrade-pkg-nameFred Hebert2018-12-031-2/+4
|\ \ \ | | | | | | | | Fix pkg name during update by using pkg_name understood by hex
| * | | fix pkg name during update by using pkg_name understood by hexAndrás Boroska2018-12-021-2/+4
|/ / /
* | | Merge pull request #1963 from ferd/swap-builder-dep-orderFred Hebert2018-12-012-4/+8
|\ \ \ | |/ / |/| | Fix load order for custom project builders and parse transforms
| * | Review comments addressedFred Hebert2018-12-011-1/+3
| | |
| * | Clear app details cache before checking in pathsFred Hebert2018-11-291-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The app data, when set by `rebar3_app_discover` basically does not include the modules if it was derived from the .app.src file, even if at a later point the modules were compiled. Since there is currently no clear way to add that information reliably across all compiler versions in all types of compilers, we simply clear the cache and re-derive the information when required. This might have a small performance cost, but is required for correctness whenever an application's first build is run. Specifically, this bug was detected when a plugin included lager's parse transform, and the application itself also required it, but two distinct versions were needed. This patch finalizes fixing this issue.
| * | Ensure the right deps are in pathFred Hebert2018-11-281-0/+1
| | | | | | | | | | | | | | | Compile time with parse transforms needs to have the deps first in scope before the plugins
| * | Fix load order for custom project buildersFred Hebert2018-11-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Due to building dependencies with potential artifacts such as parse transforms or macros, project builder plugins should be included in the path, but _after_ deps are loaded. Doing otherwise means that if any of the dependencies is required at compile time, those of a plugin might get used first.
* | | fix for mix projects that don't have app.src files (#1964)Tristan Sloughter2018-11-302-2/+6
|/ /
* | back to git based versioningFred Hebert2018-11-271-1/+1
| |
* | Bump to 3.7.5Fred Hebert2018-11-272-2/+2
| |
* | Merge pull request #1957 from tsloughter/subdir-behavioursFred Hebert2018-11-271-10/+1
|\ \ | | | | | | search subdirectories as well for imports/transforms/behaviours
| * | search subdirectories as well for imports/transforms/behavioursTristan Sloughter2018-11-251-10/+1
| | |
* | | Merge pull request #1959 from ferd/fix-cover-pathsFred Hebert2018-11-271-2/+1
|\ \ \ | | | | | | | | Fix path coverage loading artifacts
| * | | Fix path coverage loading artifactsFred Hebert2018-11-261-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | The old path handling routine would force loading a bunch of applications, but it did not necessarily unload them aside from specific calls that the other test handlers used to need to do, but no longer needed under the updated path management of 3.7.0. The leftover calls in the cover compilation bits caused some apps to be loaded and to remain loaded before tests started.
* | | Merge pull request #1949 from aronisstav/add-more-help-hintFred Hebert2018-11-271-1/+3
|\ \ \ | |/ / |/| | Add hint for `rebar3 new help` on `rebar3 help new`
| * | Add hint for `rebar3 new help` on `rebar3 help new`Stavros Aronis2018-11-221-1/+3
| | |
* | | back to git versioningTristan Sloughter2018-11-241-1/+1
| | |
* | | version bump 3.7.4Tristan Sloughter2018-11-242-2/+2
| | |
* | | revert ebin_modules to include all beams minus extra_src (#1955)Tristan Sloughter2018-11-241-9/+24
| | |
* | | Back to git-based versioningFred Hebert2018-11-241-1/+1
| | |
* | | Properly bump to 3.7.3Fred Hebert2018-11-241-1/+1
| | |
* | | Bump to 3.7.3Fred Hebert2018-11-241-1/+1
| | |
* | | Merge pull request #1954 from tsloughter/base-runFred Hebert2018-11-241-2/+2
|\ \ \ | | | | | | | | fix base_compiler:run to take a single directory
| * | | fix base_compiler:run to take a single directoryTristan Sloughter2018-11-241-2/+2
|/ / /
* | | Back to git-based versioningFred Hebert2018-11-231-1/+1
| | |
* | | bump to 3.7.2Fred Hebert2018-11-232-2/+2
| | |
* | | Merge pull request #1953 from tsloughter/subdirs-modulesFred Hebert2018-11-233-3/+9
|\ \ \ | | | | | | | | fix to include beams built from src files in subdirs in modules list
| * | | fix to include beams built from src files in subdirs in modules listTristan Sloughter2018-11-233-3/+9
|/ / /
* | | back to git versioningTristan Sloughter2018-11-231-1/+1
| | |
* | | bump to 3.7.1Tristan Sloughter2018-11-231-1/+1
| | |
* | | fix base path used for yrl/xrl includefile configs (#1952)Tristan Sloughter2018-11-233-18/+176
| | |
* | | Back to git-based versioningFred Hebert2018-11-231-1/+1
| | |