summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * port_compiler: clean up compile_each()Tuncer Ayaz2016-08-261-21/+25
|/ | | | Extract clang db entry generation into a separate function.
* Merge pull request #615 from tuncer/clang-compilation-dbLuis Rascão2016-08-192-13/+52
|\ | | | | port_compiler: generate clang compilation db
| * port_compiler: generate clang compilation dbTuncer Ayaz2016-08-192-13/+52
|/ | | | | | 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.
* Merge pull request #614 from firephreek/bug/bootstrap-file-checkLuis Rascão2016-08-161-1/+4
|\ | | | | Add an additional check for the existence of a 'rebar.beam' file
| * Add an additional check for the existence of a 'rebar.beam' file during ↵Stryder2016-08-151-1/+4
|/ | | | bootstrap run. Bootstrap fails on first run without any .beam files in the ebin folder.
* Merge pull request #612 from tuncer/rand19Luis Rascão2016-08-085-4/+188
|\ | | | | Introduce and use compat random number module
| * Introduce and use compat random number moduleTuncer Ayaz2016-08-065-4/+188
|/ | | | | | | | 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.
* Merge pull request #611 from tuncer/port_compiler-wspace-fixLuis Rascão2016-07-171-2/+2
|\ | | | | port_compiler: consistently format default_env/0
| * port_compiler: consistently format default_env/0Tuncer Ayaz2016-07-171-2/+2
|/
* Merge pull request #610 from tuncer/lift-qc-experimentalLuis Rascão2016-07-121-4/+1
|\ | | | | qc: lift experimental notice
| * qc: lift experimental noticeTuncer Ayaz2016-07-121-4/+1
|/
* Merge pull request #609 from lrascao/release/2.6.22.6.2Fred Hebert2016-06-282-1/+30
|\ | | | | Prepare release 2.6.2
| * Prepare release 2.6.2Luis Rascão2016-06-282-1/+30
|/
* Merge pull request #606 from lrascao/fix/revert_590Luis Rascão2016-06-081-3/+2
|\ | | | | Revert 'Treat port env vars as expandable only if they self reference'
| * Revert 'Treat port env vars as expandable only if they self reference'Luis Rascão2016-06-071-3/+2
| | | | | | | | Regression introduced in b816c69e343c8fd757c59fe8703eeda597f4da0a.
* | Merge pull request #605 from lrascao/fix/port_driver_mac_buildLuis Rascão2016-06-081-3/+3
|\ \ | |/ |/| Add necessary OSX flags for port driver linking
| * Add necessary missing OSX flags for port driver linkingLuis Rascão2016-06-071-3/+3
|/
* Merge pull request #603 from tsloughter/masterFred Hebert2016-04-131-0/+4
|\ | | | | add deprecated message
| * add deprecated messageTristan Sloughter2016-04-131-0/+4
|/
* Merge pull request #602 from choptastic/rebar3-depsLuis Rascão2016-04-106-0/+90
|\ | | | | Support full-source rebar3-style deps (deps without Version Regexes)
| * Add raw to VsnRegex-Free depJesse Gumm2016-03-204-2/+15
| |
| * Support rebar3-style depsJesse Gumm2016-03-205-0/+77
|/ | | | | | | | Example: {git, {appname, "git://something/something", {branch, master}}} ^ | |---- Notice the lack of a version Regex
* Merge pull request #588 from lrascao/fix/look_for_ct_spec_files_only_in_test_dirLuis Rascão2016-03-187-4/+79
|\ | | | | Look for ct .spec files in the ct_dir that was specified
| * Optionally look for ct .spec files in the ct_dir that was specifiedLuis Rascão2016-03-147-4/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #594 from matwey/cache_load_saveLuis Rascão2016-03-185-3/+127
|\ \ | | | | | | Introduce REBAR_VSN_CACHE_FILE env variable to load/save vsn cache
| * | Introduce REBAR_VSN_CACHE_FILE env variable to load/save vsn cacheMatwey V. Kornilov2016-03-185-3/+127
|/ / | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #589 from matwey/rebar_deps_force_libLuis Rascão2016-03-179-15/+122
|\ \ | | | | | | Introduce REBAR_DEPS_PREFER_LIBS env variable to alter search behaviour
| * | Introduce REBAR_DEPS_PREFER_LIBS env variable to alter search behaviourMatwey V. Kornilov2016-03-149-15/+122
|/ / | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #599 from lrascao/feature/regression_test_for_595Luis Rascão2016-03-145-1/+69
|\ \ | |/ |/| Fix bug when running gcc in cross_sizeof
| * Fix bug when running gcc in cross_sizeofFrank Hunleth2016-03-135-1/+69
|/ | | | | | | 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.
* Merge pull request #590 from lrascao/feature/allow_port_env_flags_redefinitionLuis Rascão2016-02-235-2/+105
|\ | | | | Treat port env vars as expandable only if they self reference
| * Treat port env vars as expandable only if they self referenceLuis Rascão2016-02-195-2/+105
| | | | | | | | | | Provide additional port test case. Also, update newest OS X versions build flags.
* | Merge pull request #591 from lrascao/fix/eunit-tests-surefire-crash-and-testLuis Rascão2016-02-235-1/+69
|\ \ | | | | | | Fix/eunit tests surefire crash
| * | Provide additional test coverage for surefire enabled eunit testingLuis Rascão2016-02-194-0/+63
| | |
| * | Fix eunit_surefire crash with rebar eunit tests=...Tomas Janousek2016-02-191-1/+6
| |/ | | | | | | | | | | | | 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}]},{...
* | Merge pull request #580 from lrascao/feature/check_common_test_resultLuis Rascão2016-02-1910-0/+120
|\ \ | |/ |/| Additional Common Test regression tests
| * Additional Common Test regression testsLuis Rascão2016-02-1910-0/+120
|/ | | | | | | | 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.
* Merge pull request #587 from lrascao/fix/require_vsnLuis Rascão2016-02-152-18/+39
|\ | | | | rebar_require_vsn: Update regexp to account for newer OTP versions
| * Update regexp to account for newer OTP versionsLuis Rascão2016-02-152-18/+39
|/ | | | | | | | 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.
* Merge pull request #586 from surik/dia_ensure_ebinLuis Rascão2016-02-133-0/+119
|\ | | | | Ensure ebin created for dia compiler
| * Add tests for dia compilerYury Gargay2016-02-131-0/+116
| | | | | | | | Test will be runed only on OTP >= 15
| * Ensure ebin created for dia compilerYury Gargay2016-02-132-0/+3
|/ | | | also add myself to THANKS
* Merge pull request #532 from lrascao/feature/neotoma_regression_testsLuis Rascão2016-02-1310-1/+1199
|\ | | | | Automatically clean neotoma-generated erl files, regression test
| * Automatically clean neotoma-generated erl filesJohn R. Daily2016-02-132-1/+33
| | | | | | | | Add myself to THANKS
| * Add neotoma regression testLuis Rascão2016-02-138-0/+1166
| | | | | | | | Integration regression test that checks for correct generation of .erl files from .peg ones and that they are cleaned up.
* | Merge pull request #581 from lrascao/fix/change_retest_dep_urlLuis Rascão2016-01-241-1/+1
|\ \ | |/ |/| Update retest dependency url
| * Update retest dependency urlLuis Rascão2016-01-241-1/+1
|/ | | | | Should point to rebar org fork, upstream no longer being actively maintained by owner.
* Merge pull request #562 from lrascao/fix/windows_retestsFred Hebert2016-01-2039-166/+385
|\ | | | | Add support for Windows integration testing
| * Add support for Windows integration testingLuis Rascão2016-01-1539-166/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #578 from lrascao/feature/add_latest_otp_travisLuis Rascão2016-01-151-0/+1
|\ \ | |/ |/| Add the latest OTP 18 version to the Travis build