| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|\
| |
| | |
Add pr2relnotes tool to generate release notes
|
|/ |
|
|\
| |
| | |
rmemo: properly handle unsupported call
|
|/ |
|
|\
| |
| | |
Add and use memoization server
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
1. memoize otp release vsn string function call
2. memoize expensive filename:absname/1 call which happens
to be called quite frequently
|
|/
|
|
|
| |
Copy memo.erl from https://github.com/tuncer/memo and rename to
rmemo.erl for use in rebar. We rename it to avoid collisions.
|
|\
| |
| | |
Fix 'make deps'
|
|/
|
|
|
|
|
| |
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).
|
|\
| |
| | |
erlc: do not crash if dep file cannot be found
|
|/ |
|
|\
| |
| | |
rebar_core: add missing newline in log msg
|
|/ |
|
|\
| |
| | |
Drop `shared` PLTs support and change PLT name to <OTP-VSN>.plt
|
| | |
|
|\ \
| |/
|/| |
rebar_utils: explain pdict use
|
|/ |
|
|\
| |
| | |
Don't crash if missing OTP_VERSION file (fix #350)
|
|/ |
|
|\
| |
| | |
Makefile: clean only .rebar/erlcinfo
|
|/
|
|
| |
Do not delete PLT file in .rebar/.
|
|\
| |
| | |
Add Dialyzer plugin
|
| |
| |
| |
| | |
To match rebar3, change plt_location's default to 'local'.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
{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]}
]}.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]}
|
| | |
|
|\ \
| | |
| | | |
Try one more location for the OTP_VERSION file
|
|/ /
| |
| |
| |
| | |
If one is building Erlang from sources without making a proper release,
there may be an OTP_VERSION file in the root directory.
|
|\ \
| |/
|/| |
|
| |\
|/ /
| |
| |
| |
| |
| | |
into RubberCthulhu-ct-groups-and-cases
Conflicts:
THANKS
|
| |
| |
| |
| |
| |
| |
| | |
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".
|
|\ \
| | |
| | | |
Update PLT detail for make build_plt
|
|/ /
| |
| |
| |
| | |
The PLT that rebar will have dialyzer use is now created with make
build_plt - this commit explains that.
|
|\ \
| | |
| | | |
Use target_dir as source of new version in generate-appups
|
| | | |
|
|\ \ \
| | | |
| | | | |
Update line number of allowed dialyzer error
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \
| |/ / /
|/| | | |
Add details on Dialyzer with "make check"
|
|/ / /
| | |
| | |
| | |
| | | |
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.
|
|\ \ \ |
|
| |\ \ \
|/ / / /
| | | |
| | | | |
fholzhauser-dia_first_files
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|