summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| * | | the releases website has changedgetong2016-12-141-1/+1
|/ / /
* | | Merge pull request #1413 from ates/rebar3.crashdump-gitignoreFred Hebert2016-12-101-0/+1
|\ \ \ | | | | | | | | Add rebar3.crashdump to gitignore template
| * | | Add rebar3.crashdump to gitignore templateArtem Teslenko2016-12-101-0/+1
|/ / /
* | | Merge pull request #1411 from ferd/fix-regex-matchesalisdair sullivan2016-12-094-4/+4
|\ \ \ | | | | | | | | Fix regex match for ignored file
| * | | Fix regex match for ignored fileFred Hebert2016-12-094-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The regex mistakenly matched too many files (any character followed by an underscore) rather than only files starting in '._' This properly escapes the expressions to work in all cases.
* | | | Merge pull request #1405 from erlang/get-depsFred Hebert2016-12-092-0/+38
|\ \ \ \ | |/ / / |/| | | add `get-deps` provider
| * | | add `get-deps` provideralisdair sullivan2016-12-072-0/+38
| |/ / | | | | | | | | | a no-op provider that depends on lock that is slightly more discoverable and user friendly
* | | Merge pull request #1408 from robertoaloi/patch-1Fred Hebert2016-12-081-0/+1
|\ \ \ | | | | | | | | Update THANKS
| * | | Update THANKSRoberto Aloi2016-12-081-0/+1
|/ / /
* | | Go back to git-based versioningFred Hebert2016-12-081-1/+1
| | |
* | | Bump to 3.3.3Fred Hebert2016-12-082-2/+2
| | |
* | | Merge pull request #1404 from psyeugenic/select-cmd-by-git-versionalisdair sullivan2016-12-071-13/+59
|\ \ \ | |/ / |/| | Select git clone command by git version
| * | Use different git commands for different git versionsBjörn-Egil Dahlberg2016-12-071-13/+59
|/ / | | | | | | | | | | | | | | | | | | The option --single-branch was introduced in git version 1.7.10 and thus rebar3 cannot fetch git dependencies on systems where earlier git versions are install. This commit will select other git clone commands if an earlier git version is detected. If the git version cannot be determined rebar3 falls back on the previous behavior and uses --single-branch.
* | Merge pull request #1403 from robertoaloi/fix-regexp-for-matching-filesFred Hebert2016-12-064-4/+4
|\ \ | | | | | | Restrict regexp to match on files starting with '._'
| * | Restrict regexp to match on files starting with '._'Roberto Aloi2016-12-064-4/+4
|/ /
* | Merge pull request #1398 from tburghart/rebar3_issue_1397Fred Hebert2016-12-052-35/+162
|\ \ | | | | | | Correct precedence of compile options merged from profiles.
| * | Added regression tests for PR 1398Ted Burghart2016-12-051-2/+102
| | |
| * | Addresses https://github.com/erlang/rebar3/issues/1397Ted Burghart2016-12-051-33/+60
|/ / | | | | | | | | | | Ensures merged compiler options end up in the correct order to maintain profile precedence. Moves the merge functionality from rebar_opts:merge_opts/2 to a standalone function to ease extension and debugging.
* | Merge branch 'artempervin-master'Fred Hebert2016-12-015-12/+91
|\ \
| * | Fully clean up after test utils for proxyFred Hebert2016-12-011-4/+5
| | |
| * | 1394: fixed typoArtem Pervin2016-12-011-4/+4
| | |
| * | 1394: fixed typoArtem Pervin2016-12-011-3/+3
| | |
| * | 1394: restore original proxy spec after testsArtem Pervin2016-12-011-6/+21
| | |
| * | 1394: refined export list and testsArtem Pervin2016-12-012-4/+9
| | |
| * | 1394: one more testArtem Pervin2016-12-011-0/+3
| | |
| * | 1394: fixed typosArtem Pervin2016-11-301-2/+2
| | |
| * | 1394: fixed typoArtem Pervin2016-11-301-2/+2
| | |
| * | 1394: added fix for rebar_utils, moved setting of http_options into ↵Artem Pervin2016-11-305-23/+55
| | | | | | | | | | | | init_config, added unit tests
| * | 1394: fixed handling of proxy username and passwordArtem Pervin2016-11-291-3/+26
|/ /
* | Merge pull request #1393 from ferd/fix-linebreaksFred Hebert2016-11-281-2/+2
|\ \ | | | | | | Replace unprocessed ~n linebreaks
| * | Replace unprocessed ~n linebreaksFred Hebert2016-11-281-2/+2
|/ / | | | | | | Fixes #1392
* | Merge pull request #1390 from lrascao/feature/bump_depsFred Hebert2016-11-272-9/+9
|\ \ | |/ |/| Upgrade relx, erlware_commons and cf
| * Upgrade relx, erlware_commons and cfLuis Rascao2016-11-272-9/+9
|/ | | | | | relx ~> 3.22.0 erlware_commons ~> 0.22.0 cf ~> 0.2.2
* Merge pull request #1382 from sirihansen/siri/recursive-optFred Hebert2016-11-255-38/+185
|\ | | | | Add 'recursive' option
| * Add 'recursive' optionSiri Hansen2016-11-215-38/+185
| | | | | | | | | | | | | | | | | | | | | | | | The option {recursive,boolean()} can now be set pr directory in 'src_dirs' and 'extra_src_dirs', and on top level in the new 'erlc_compiler' option. Example config: {erlc_compiler,[{recursive,false}]}. {src_dirs,[{"src",[{recursive,true}]}]}. This will cause recursive compilation within the "src" directory, but not in any other directoires.