| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
| |
Extract clang db entry generation into a separate function.
|
|\
| |
| | |
port_compiler: generate clang compilation db
|
|/
|
|
|
|
| |
In order for newer clang tools to work, they require the presence of a
compilation database in the form of compile_commands.json. Therefore,
we adapt port_compiler to write such a file.
|
|\
| |
| | |
Add an additional check for the existence of a 'rebar.beam' file
|
|/
|
|
| |
bootstrap run. Bootstrap fails on first run without any .beam files in the ebin folder.
|
|\
| |
| | |
Introduce and use compat random number module
|
|/
|
|
|
|
|
|
| |
In order for rebar to work with previous and current OTP releases, we
generate the rebar_rnd module on startup. rebar_rnd is generated
dynamically to make sure that we use the right random module (either
rand if available or else random). It only wraps the common subset of
the API, but that's sufficient for rebar's use.
|
|\
| |
| | |
port_compiler: consistently format default_env/0
|
|/ |
|
|\
| |
| | |
qc: lift experimental notice
|
|/ |
|
|\
| |
| | |
Prepare release 2.6.2
|
|/ |
|
|\
| |
| | |
Revert 'Treat port env vars as expandable only if they self reference'
|
| |
| |
| |
| | |
Regression introduced in b816c69e343c8fd757c59fe8703eeda597f4da0a.
|
|\ \
| |/
|/| |
Add necessary OSX flags for port driver linking
|
|/ |
|
|\
| |
| | |
add deprecated message
|
|/ |
|
|\
| |
| | |
Support full-source rebar3-style deps (deps without Version Regexes)
|
| | |
|
|/
|
|
|
|
|
|
| |
Example: {git, {appname, "git://something/something", {branch, master}}}
^
|
|---- Notice the lack of a version Regex
|
|\
| |
| | |
Look for ct .spec files in the ct_dir that was specified
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow to change existing behaviour which is to find all .spec
files recursively in the current working directory through a new
rebar.config option: {ct_search_specs_from_test_dir, true}
This is confusing since the user explicitly stated the
location for his spec files and negates the possibility
to have different spec'ed suites for different environment.
Also fix the node name generation on the ct test run, append
a random number that will reduce chances of name collisions
on epmd.
|
|\ \
| | |
| | | |
Introduce REBAR_VSN_CACHE_FILE env variable to load/save vsn cache
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When REBAR_VSN_CACHE_FILE is set, then vsn cache is loaded from
this file on rebar start and updated when new data.
Under specific circumstances (i.e. in build environments),
full git tree may not be available, but only its snapshot.
We need a way to use preheat vsn cache instead of invocing
git command.
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
|
|\ \
| | |
| | | |
Introduce REBAR_DEPS_PREFER_LIBS env variable to alter search behaviour
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| |/
|/| |
Fix bug when running gcc in cross_sizeof
|
|/
|
|
|
|
|
| |
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.
|
|\ \
| | |
| | | |
Fix/eunit tests surefire crash
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| | |
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}]},{...
|
|\ \
| |/
|/| |
Additional Common Test regression tests
|
|/
|
|
|
|
|
|
| |
One test that checks for a failed make, another
that detects a failed test run when only one of several
suites fails. The ct test fails is only applicable to OTP
versions older than R16 (inclusive), this is related to the way
older versions handle the test .spec files.
|
|\
| |
| | |
rebar_require_vsn: Update regexp to account for newer OTP versions
|
|/
|
|
|
|
|
|
| |
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.
|
|\
| |
| | |
Ensure ebin created for dia compiler
|
| |
| |
| |
| | |
Test will be runed only on OTP >= 15
|
|/
|
|
| |
also add myself to THANKS
|
|\
| |
| | |
Automatically clean neotoma-generated erl files, regression test
|
| |
| |
| |
| | |
Add myself to THANKS
|
| |
| |
| |
| | |
Integration regression test that checks for correct generation of .erl files from .peg ones and that they are cleaned up.
|
|\ \
| |/
|/| |
Update retest dependency url
|
|/
|
|
|
| |
Should point to rebar org fork, upstream
no longer being actively maintained by owner.
|
|\
| |
| | |
Add support for Windows integration testing
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Add the latest OTP 18 version to the Travis build
|