summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add license to relnotes tool per reviewer requestjem-add-license-prtoolJared Morrow2015-06-211-0/+22
|
* bump to 2.6.02.6.0Fred Hebert2015-06-192-1/+88
|
* Merge pull request #513 from rebar/jem-pr-release-toolFred Hebert2015-06-192-0/+189
|\ | | | | Add pr2relnotes tool to generate release notes
| * Add pr2relnotes tool to generate release notesJared Morrow2015-06-192-0/+189
|/
* Merge pull request #512 from tuncer/fix-rememo-handle_callFred Hebert2015-06-191-1/+1
|\ | | | | rmemo: properly handle unsupported call
| * rmemo: properly handle unsupported callTuncer Ayaz2015-06-191-1/+1
|/
* Merge pull request #511 from tuncer/memoFred Hebert2015-06-194-22/+310
|\ | | | | Add and use memoization server
| * rebar_utils: rename internal functionTuncer Ayaz2015-06-121-3/+3
| |
| * rmemo: document rebar-specific modificationsTuncer Ayaz2015-06-121-0/+4
| |
| * rmemo: support R13 for rebar onlyTuncer Ayaz2015-06-121-2/+15
| | | | | | | | | | | | | | ets read_concurrency has been available since R14, but rebar supports R13B03 (and newer). As a workaround we check that erts/ebin/erts.app exists as another pre-R14 characteristic to determine whether we can assume read_concurrency is supported.
| * Start using memoization serverTuncer Ayaz2015-06-122-19/+12
| | | | | | | | | | | | | | 1. memoize otp release vsn string function call 2. memoize expensive filename:absname/1 call which happens to be called quite frequently
| * Add memoization serverTuncer Ayaz2015-06-112-1/+279
|/ | | | | Copy memo.erl from https://github.com/tuncer/memo and rename to rmemo.erl for use in rebar. We rename it to avoid collisions.
* Merge pull request #510 from tuncer/fix-make-depsFred Hebert2015-06-081-2/+2
|\ | | | | Fix 'make deps'
| * Fix 'make deps'Tuncer Ayaz2015-06-081-2/+2
|/ | | | | | | We have to partially revert f3f8f29920ace62. The reason for not running "make -C deps/retest" is to avoid a dependency on rebar in $PATH. While at it, change one ./rebar to $(REBAR).
* Merge pull request #509 from tuncer/dep-open-crashFred Hebert2015-06-081-0/+5
|\ | | | | erlc: do not crash if dep file cannot be found
| * erlc: do not crash if dep file cannot be foundTuncer Ayaz2015-06-081-0/+5
|/
* Merge pull request #508 from tuncer/missing-newlineFred Hebert2015-06-071-1/+1
|\ | | | | rebar_core: add missing newline in log msg
| * rebar_core: add missing newline in log msgTuncer Ayaz2015-06-071-1/+1
|/
* Merge pull request #504 from fishcakez/plt_nameFred Hebert2015-06-073-8/+3
|\ | | | | Drop `shared` PLTs support and change PLT name to <OTP-VSN>.plt
| * Drop support for `shared` pltJames Fish2015-06-063-8/+3
| |
* | Merge pull request #505 from tuncer/pdict-commentFred Hebert2015-06-031-3/+8
|\ \ | |/ |/| rebar_utils: explain pdict use
| * rebar_utils: explain pdict useTuncer Ayaz2015-06-031-3/+8
|/
* Merge pull request #502 from choptastic/fix_otp_version2Fred Hebert2015-06-021-12/+43
|\ | | | | Don't crash if missing OTP_VERSION file (fix #350)
| * Don't crash if missing OTP_VERSION file (fix #350)Jesse Gumm2015-06-021-12/+43
|/
* Merge pull request #500 from tuncer/fix-makefileTristan Sloughter2015-05-301-1/+1
|\ | | | | Makefile: clean only .rebar/erlcinfo
| * Makefile: clean only .rebar/erlcinfoTuncer Ayaz2015-05-301-1/+1
|/ | | | Do not delete PLT file in .rebar/.
* Merge pull request #460 from tuncer/dialyzerFred Hebert2015-05-2913-59/+325
|\ | | | | Add Dialyzer plugin
| * dialyzer: change plt_location to rebar3 defaultTuncer Ayaz2015-05-221-6/+6
| | | | | | | | To match rebar3, change plt_location's default to 'local'.
| * CONTRIBUTING: update Dialyzer bitsTuncer Ayaz2015-05-221-7/+0
| |
| * dialyzer: nest dialyzer options to match rebar3Tuncer Ayaz2015-05-223-54/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {dialyzer, [ %% Store PLT in ~/.rebar/plt (Default) {plt_location, shared}, %% Store PLT locally inside the project in .rebar {plt_location, local}, %% Store PLT in custom directory {plt_location, "custom_dir"}, %% Extra apps to include in the PLT {plt_extra_apps, [app1, app2]}, {warnings, [unmatched_returns, error_handling]} ]}.
| * Suppress missing calls Dialyzer warningsTuncer Ayaz2015-05-222-0/+4
| |
| * dialyzer: consistent warning formattingJames Fish2015-05-221-7/+16
| |
| * Add Dialyzer pluginTuncer Ayaz2015-05-2210-49/+304
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Build project-specific PLT $ rebar build-plt Check the PLT for consistency and rebuild it if it is not up-to-date $ rebar check-plt Analyze the code for discrepancies $ rebar dialyze Delete project-specific PLT $ rebar delete-plt Valid rebar.config options: %% Store PLT in ~/.rebar/plt (Default) {dialyzer_plt_location,shared} %% Store PLT locally inside the project in .rebar {dialyzer_plt_location,local} %% Store PLT in custom directory {dialyzer_plt_location,"custom_path"} {dialyzer_plt_extra_apps,[app1,app2]} {dialyzer_warnings,[unmatched_returns,error_handling]}
| * Fix rebar.config.sample formattingTuncer Ayaz2015-05-221-3/+3
| |
* | Merge pull request #499 from aronisstav/otp_version_fixFred Hebert2015-05-292-2/+9
|\ \ | | | | | | Try one more location for the OTP_VERSION file
| * | Try one more location for the OTP_VERSION fileStavros Aronis2015-05-292-2/+9
|/ / | | | | | | | | If one is building Erlang from sources without making a proper release, there may be an OTP_VERSION file in the root directory.
* | Merge branch 'RubberCthulhu-ct-groups-and-cases'Fred Hebert2015-05-273-14/+61
|\ \ | |/ |/|
| * Merge branch 'ct-groups-and-cases' of https://github.com/RubberCthulhu/rebar ↵Fred Hebert2015-05-273-14/+61
| |\ |/ / | | | | | | | | | | into RubberCthulhu-ct-groups-and-cases Conflicts: THANKS
| * Add options 'groups' and 'cases' to 'ct' commandDanil Onishchenko2015-05-273-14/+61
| | | | | | | | | | | | | | Add option 'groups' to 'rebar ct' command. So the command "rebar ct suites=Suite1 groups=Group1,Group2,...,GroupN" is equal to "ct_run -suite Suite1_SUITE -group Group1 Group2 ... GroupN". It allows to run specified test groups in specified test suite with Common Test tool. Besides it is absolutely necessary to specify groups for running test cases which are included in these groups, otherwise init_per_group/2 and end_per_group/1 callbacks are not called by ct_run. Add option 'cases' to 'rebar ct' command. So the command "rebar ct suites=Suite1 cases=Case1,Case2,...,CaseN" is equal to "ct_run -suite Suite1_SUITE -case Case1 Case2 ... CaseN". It allows to run one or more test cases in specified test suite. Currently rebar has an option 'case' which allows to run only one test case. The option case is remained for backward compability. It's suggested to consider the option 'case' as deprecaed and recommended to use 'cases' instead. Updated help messages according to new command line options. Add warning message when used deprecated options 'case', 'group', 'suite' in command "rebar ct".
* | Merge pull request #496 from derek121/contributing-dialyzer-2Fred Hebert2015-05-192-6/+2
|\ \ | | | | | | Update PLT detail for make build_plt
| * | Update PLT detail for make build_pltDerek Brown2015-05-122-6/+2
|/ / | | | | | | | | The PLT that rebar will have dialyzer use is now created with make build_plt - this commit explains that.
* | Merge pull request #273 from cybergrind/appups_fixFred Hebert2015-05-121-1/+1
|\ \ | | | | | | Use target_dir as source of new version in generate-appups
| * | Use target_dir as source of new version in generate-appupsKirill Pinchuk2014-05-301-1/+1
| | |
* | | Merge pull request #494 from derek121/dialyzer-warnings-additionFred Hebert2015-05-121-1/+1
|\ \ \ | | | | | | | | Update line number of allowed dialyzer error
| * | | Update line number of allowed dialyzer errorDerek Brown2015-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running make check after make debug gives an error due to the following: make: [dialyzer_warnings] Error 2 (ignored) --- dialyzer_reference 2015-05-11 17:21:38.000000000 -0400 +++ dialyzer_warnings 2015-05-11 17:31:42.000000000 -0400 @@ -3 +3 @@ -rebar_utils.erl:198: Call to missing or unexported function escript:foldl/3 +rebar_utils.erl:222: Call to missing or unexported function escript:foldl/3 Indeed that call to escript:foldl/3 changed from line 198 to 222 via https://github.com/rebar/rebar/commit/a04530124ffa16c50205695d35f9274107e2fa42 This update makes the corresponding change to the line number in dialyzer_reference. This was noticed while working on https://github.com/rebar/rebar/pull/336
* | | | Merge pull request #336 from derek121/contributing-dialyzerFred Hebert2015-05-121-0/+8
|\ \ \ \ | |/ / / |/| | | Add details on Dialyzer with "make check"
| * | | Add details on Dialyzer with "make check"Derek Brown2015-05-111-0/+8
|/ / / | | | | | | | | | | | | If Dialyzer hasn't been used on an account before, there won't be a PLT file and "make check" will fail. Added info on that fact.
* | | Merge branch 'fholzhaut push origin masterser-dia_first_files'Fred Hebert2015-05-092-8/+47
|\ \ \
| * \ \ Merge branch 'dia_first_files' of https://github.com/fholzhauser/rebar into ↵Fred Hebert2015-05-092-8/+47
| |\ \ \ |/ / / / | | | | | | | | fholzhauser-dia_first_files
| * | | Correct overlong lines in rebar_dia_compiler.erlfholzhauser2014-09-231-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | With the implementation of dia_first_files option some lines exceeded 79 columns (thanks to Tuncer Ayaz for pointing this out). These are corrected with this change.