summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* comment `ERL_COMPILER_OPTIONS` testsalisdair sullivan2017-01-281-0/+9
|
* consider `ERL_COMPILER_OPTIONS` when recompilingalisdair sullivan2017-01-282-8/+106
| | | | | | on 19.x forward the compiler should now take into consideration the value of the environment variable `ERL_COMPILER_OPTIONS` when deciding whether or not to recompile a module
* Merge pull request #1459 from ferd/fix-nightly-readme-noteFred Hebert2017-01-281-2/+2
|\ | | | | The stable URL is for stable releases since 3.0.0
| * The stable URL is for stable releases since 3.0.0Fred Hebert2017-01-281-2/+2
|/ | | | Addresses issue #1330
* Merge pull request #1458 from ferd/survive-edoc-crashesFred Hebert2017-01-2714-10/+320
|\ | | | | Survive EDoc crashes
| * Survive EDoc crashesFred Hebert2017-01-2714-10/+320
|/ | | | | | | | | | | Instead of a hard crash, display an error message indicating which app failed. We can't report the exact failure; only EDoc does it to stdout itself and we can't capture it. Pre/Post hooks are run properly despite the failure, as per escript and compile providers.
* Merge pull request #1451 from ferd/manpagesalisdair sullivan2017-01-272-0/+448
|\ | | | | Add manpage for rebar3
| * Add manpage for rebar3Fred Hebert2017-01-212-0/+448
| | | | | | | | With peer script to help autogenerate commands from providers
* | Merge pull request #1449 from ferd/fix-localinstall-tpl-pathalisdair sullivan2017-01-272-7/+16
|\ \ | | | | | | See template local install same builtin as escript
| * | See template local install same builtin as escriptFred Hebert2017-01-212-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the `new` command is run from a locally installed rebar3 (`rebar3 local install`), the builtin templates would be labelled as custom because of directories. This patch fixes it by splitting off the rebar3 priv dir from the user's configured plugin path for custom ones, and introducing a new internal label for builtins (since handling must remain different from escripts) This fixes issue #819
* | | Merge pull request #1457 from ferd/windows-mvalisdair sullivan2017-01-272-20/+287
|\ \ \ | | | | | | | | Fix `mv` on windows
| * | | Re-fix the windows file movementFred Hebert2017-01-271-33/+45
| | | | | | | | | | | | | | | | and clean up a bit
| * | | Rework test to work and pass on linuxFred Hebert2017-01-271-7/+11
| | | | | | | | | | | | | | | | to be roundtripped again to windows.
| * | | Fix mv command on windowsFred Hebert2017-01-272-20/+271
|/ / / | | | | | | | | | | | | | | | | | | Requires changing a bunch of arguments for xerocopy since it does not allow to rename while copying. Lots of tests added
* | | Merge pull request #1453 from ajm113/grammar-contributions-fixesFred Hebert2017-01-262-3/+4
|\ \ \ | |_|/ |/| | Fixed typos and grammar errors for CONTRIBUTING.md.
| * | [GRAMMAR] Fixed typos and grammar errors for CONTRIBUTING.md. [skip ci]Andrew McRobb2017-01-262-3/+4
|/ /
* | Merge pull request #1450 from ferd/relative-dialyzer-pathsalisdair sullivan2017-01-215-34/+53
|\ \ | |/ |/| Relative dialyzer paths
| * Enable path reformatting for DialyzerFred Hebert2017-01-212-10/+13
| | | | | | | | | | | | | | | | Fixes issue #880 May break backwards compat with projects that manually called the dialyzer formatter, but we never documented or expected this to be exposed.
| * Extract code path formatting out of compilerFred Hebert2017-01-213-24/+40
|/ | | | | | | | This allows to reuse the code for any provider that formats source files out to the user. The option to configure it does remain compiler-centric for backwards compatibility
* Merge pull request #1448 from ajm113/bugfix-readme-grammar-fixFred Hebert2017-01-201-3/+3
|\ | | | | Fixed missing hypens, and improper wording in README.md
| * [BUGFIX] Fixed missing hypens, and improper wording. [skip ci]Andrew McRobb2017-01-201-3/+3
|/
* Merge pull request #1445 from ajm113/feature-editorconfigFred Hebert2017-01-191-0/+13
|\ | | | | [FEATURE] Add .editorconfig Settings.
| * [FEATURE] Add .editorConfig Settings. [skip ci]Andrew McRobb2017-01-191-0/+13
|/ | | | https://github.com/erlang/rebar3/issues/1443
* Merge pull request #1439 from tsloughter/otp20Fred Hebert2017-01-102-3/+3
|\ | | | | upgrade erlware_commons to 1.0.0 for OTP20 support
| * upgrade erlware_commons to 1.0.0 for OTP20 supportTristan Sloughter2017-01-102-3/+3
|/
* Merge pull request #1436 from tsloughter/relx_3.22.2Fred Hebert2017-01-092-3/+3
|\ | | | | upgrade relx to fixed hex package 3.22.2
| * upgrade relx to fixed hex package 3.22.2Tristan Sloughter2017-01-062-3/+3
| |
* | Merge pull request #1434 from tsloughter/shell_argsFred Hebert2017-01-031-6/+16
|\ \ | |/ |/| add option to pass args to user_drv for custom shells
| * add option to pass args to user_drv for custom shellsTristan Sloughter2016-12-311-6/+16
| |
* | Merge pull request #1433 from lrascao/feature/bump_relx_3_22_1Fred Hebert2016-12-272-3/+3
|\ \ | |/ | | Bump relx to 3.22.1
| * Bump relx to 3.22.1Luis Rascao2016-12-272-3/+3
|/
* Back to git-based versionsFred Hebert2016-12-231-1/+1
|
* Bumping to 3.3.4Fred Hebert2016-12-232-2/+2
|
* Merge pull request #1391 from ferd/doc-and-typesFred Hebert2016-12-2317-97/+792
|\ | | | | Type specifications and edocs improvements
| * Fix Alisdair's review, add more types and docsFred Hebert2016-12-165-25/+109
| |
| * Type specifications and edocs improvementsFred Hebert2016-11-2716-75/+686
| | | | | | | | | | | | Includes improvments and function documentation for all modules (in alphabetical order) up to rebar_core, and may have included more in other modules as I saw fit to dig and understand more of the internals.
* | Merge pull request #1407 from sirihansen/ct-testspec-optsFred Hebert2016-12-232-80/+463
|\ \ | | | | | | Improve merge of command line options and config options in CT
| * | Handle errors from ct_testspecSiri Hansen2016-12-222-3/+52
| | |
| * | Make sure ct_testspec is loadedSiri Hansen2016-12-221-0/+1
| | | | | | | | | | | | ... before calling erlang:function_exported(ct_testspec,get_tests,1).
| * | Add all dirs from test specSiri Hansen2016-12-202-16/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse given test specs and add all spec- and suite directories as extra_src_dirs in order to ensure that all these directories are copied to the _build area and the suites are compiled. Specs located in the project- or app root are explicitly copied to the _build area in order to avoid recursive copying of the complete directory tree.
| * | Allow using relative path to suite in project rootSiri Hansen2016-12-132-16/+54
| | |
| * | Translate path to testspecSiri Hansen2016-12-092-37/+51
| | | | | | | | | | | | | | | | | | This is a bugfix. It makes sure that the given path to a testspec is translated so common_test will pick the spec from the _build directory, and not from the source tree.
| * | Add directory of testspec as extra_src_dirSiri Hansen2016-12-082-12/+32
| | | | | | | | | | | | | | | | | | This is necessary in order to automatically get the testspec included as an artifact (i.e. copied to the _build dir) in the case when it is stored in another directory than 'test'.
| * | Improve merge of command line options and config optionsSiri Hansen2016-12-072-27/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: option 'spec' is not specifically handled when merging options from the command line with options from rebar.config. Due to this, if the config specifies a 'spec', then this will take precedence over any 'dir' and/or 'suite' on the command line. This commit takes special care of all options that can be used to select tests - meaning that if any of the options 'spec', 'dir', 'suite', 'group' or 'case' are specified on the command line, then all 'spec', 'dir', 'suite', 'group' and 'case' options in rebar.config will be ignored.
* | | Merge pull request #1430 from erlang/rebar-1331Fred Hebert2016-12-231-4/+5
|\ \ \ | | | | | | | | refine eunit test detection
| * | | eunit: remove application modules from the modules eligible to testalisdair sullivan2016-12-231-4/+5
| | | | | | | | | | | | | | | | | | | | application modules will be added to the eunit test set automatically, no need to consider them for inclusion in the test set separately
| * | | don't filter eunit test modules based on file extensionalisdair sullivan2016-12-221-2/+2
|/ / / | | | | | | | | | | | | | | | stops the eunit provider from filtering out test modules based on the file extension. previously, it was hardcoded to expect all test files ended in `.erl`. this change allows for endings like `.lfe` and `.beam`
* | | Merge pull request #1415 from lrascao/feature/rebar_shell_fixFred Hebert2016-12-161-0/+4
|\ \ \ | | | | | | | | shell: don't crash apps that use release version operators
| * | | shell: don't crash apps that use release version operatorsLuis Rascao2016-12-111-0/+4
| | | | | | | | | | | | | | | | Like for instance: {app, "0.1.0", '='}
* | | | Merge pull request #1418 from getong/releases_websiteFred Hebert2016-12-141-1/+1
|\ \ \ \ | |/ / / |/| | | the releases website has changed