| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
When REBAR_DEPS_PREFER_LIBS is set, dependencies with defined sources
are allowed to be searched for in system lib directory.
Under specific circumstances (i.e. in build environments without networking)
it is impossible to fetch deps locally. So, user needs a way to ask rebar to
search in system lib directory as well.
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
|
|
|
|
|
|
|
| |
The test program used to determine the word size of a crosscompiler is
crafted to return an error, so this changes the logic to expect an
error exit. If the crosscompiler actually compiles the test program
successfully, that would be remarkable and worthy of investigation.
|
|\
| |
| | |
Treat port env vars as expandable only if they self reference
|
| |
| |
| |
| |
| | |
Provide additional port test case.
Also, update newest OS X versions build flags.
|
|/
|
|
|
|
|
| |
This fixes the following crash:
> =ERROR REPORT==== 20-Jun-2014::16:35:38 ===
> Error in process <0.40.0> with exit value: {function_clause,[{eunit_surefire,escape_suitename,[undefined,[]],[{file,"eunit_surefire.erl"},{line,416}]},{eunit_surefire,write_report,2,[{file,"eunit_surefire.erl"},{line,258}]},{lists,foreach,2,[{file,"lists.erl"},{line,1336}]},{...
|
|
|
|
|
|
|
|
| |
Add support for patch numbers, also expose
version_tuple/1 for easier internal access.
Normalize version_tuple/1 return value, now
always {Major, Minor, Patch}.
Update regression tests accordingly.
|
|
|
|
| |
also add myself to THANKS
|
|
|
|
| |
Add myself to THANKS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use retest feature/rebar-windows-ci branch that adds Windows
tests support, test setup callback and additional touch command.
For all tests copy rebar and rebar.cmd using retest setup callback.
Port OS specific commands used in tests to Erlang
(eg. touch, rm, cp, stat..).
rebar_ct: do away with grep command line invocation (which doesn't
exist in Windows) and use instead plain Erlang parsing.
Increase timeout for rgen1 test to 4 minutes, Windows Appveyor
can take longer than the previous 2 minutes.
|
|\
| |
| | |
Provide additional debug logging on relup generation
|
| | |
|
|\ \
| |/
|/| |
xref: fix dialyzer warning introduced in 69802f63120
|
| | |
|
|\ \
| | |
| | | |
Fix windows eunit tests
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
File tests: windows file operations should abort on error
the same as unix operations invoked through sh. Also
windows does not support the '?' character in filenames.
Eunit tests: the 'All' prefix is missing on the 'x tests passed'
message. Eunit only prints the 'All' prefix if there are more
than 2 passed tests, dropping the prefix on the match works
for all cases.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Recent builds of LFE have stopped reporting compile errors when compiled with
rebar. Examination of this issue revealed that this was due to recent
changes in default LFE compile options.
The way that LFE handles compile options has slightly changed; ``verbose`` and
``report`` are now provided as defaults only if no other options are passed; if
other options are passed, these do not get set. As a result, we have stopped
seeing compile error info when building with rebar.
This change brings back the previous level of reporting that LFE developers had
when compiling their projects with rebar.
|
|\
| |
| | |
Add erl_first_files in eunit_first_files and qc_first_files
|
| | |
|
|\ \
| | |
| | | |
Fix #536
|
| |/ |
|
| | |
|
|/
|
|
|
|
| |
Move existing documentation from code comment into help string, so that
'rebar help compile' prints complete documentation for
rebar_port_compiler.
|
|
|
|
|
|
| |
Use case: xref'ing a module that defined behavior ranch_protocol was
exiting with
{'EXIT',{undef,[{ranch_protocol,behaviour_info, [callbacks],[]}
|
|
|
|
|
|
|
|
|
|
|
| |
* do not use pdict
* do not enable color support by default. once we have the new
getopt version, we can add a new type of command line flag
for that.
* fix Dialyzer warnings
* use atom instead of boolean
* use better name for internal function
* do not try (and fail) to access rebar's app env in retest test
|
|
|
|
|
|
| |
Fix verbose level in global rebar config
Replace application:set_env on erlang:put
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix commit messages
* fix whitespace issues
* move internal helper functions to correct location
* unexport internal cross arch helper functions
* fix 18.0 time API compatibility
* fix Windows temp dir detection
* use correct helper function name
* use sh/2 instead of os:cmd/1
* match file:delete/1 result
* use logging macros
* fix typo
* fix Dialyzer warnings
* add Tony Rogvall to THANKS
* add missing termination clause
* os type must be win32, not windows
* match file:write_file/2 result
* document cross-arch variables
* simplify env_wordsize/1 (Thanks Fred Hebert)
|
|
|
|
|
|
|
|
|
|
| |
New variable names:
* REBAR_TARGET_ARCH
* REBAR_TARGET_ARCH_VSN
* REBAR_TARGET_ARCH_WORDSIZE
|
| |
|
|
|
|
|
|
|
|
|
|
| |
New vars for cross arch support:
* REBAR_ARCH_TARGET
* REBAR_TARGET_WORDSIZE
* REBAR_ARCH_TARGET_VSN
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|\
| |
| | |
Drop `shared` PLTs support and change PLT name to <OTP-VSN>.plt
|
| | |
|
|/ |
|
| |
|
|\
| |
| | |
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]}
]}.
|
| | |
|
| | |
|