summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Enhance make check (Inspired-by: Stavros Aronis)Tuncer Ayaz2012-01-015-16/+52
|
* Cleanup and simplify deprecated option handlingTuncer Ayaz2012-01-012-23/+18
|
* Add Tomas Abrahamsson to THANKS fileTuncer Ayaz2011-12-301-0/+1
|
* Merge pull request #168 from tomas-abrahamsson/eunit-inet_gethost_nativeDave Smith2011-12-291-1/+5
|\ | | | | Error report killing inet_gethost_native after eunit
| * Don't kill any inet_gethost_native after eunitTomas Abrahamsson2011-12-291-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid error reports like this one: prompt$ rebar eunit ==> dummy (eunit) Test passed. =ERROR REPORT==== 29-Dec-2011::23:22:11 === ** Generic server inet_gethost_native_sup terminating ** Last message in was {'EXIT',<0.62.0>,killed} ** When Server state == {state,inet_gethost_native,undefined,<0.62.0>, {local,inet_gethost_native_sup}} ** Reason for termination == ** killed Previously, it could happen if an eunit test did something that required a name lookup, like in this example: -module(dummy_tests). -include_lib("eunit/include/eunit.hrl"). x_test() -> {ok, _Hostent} = inet:gethostbyname(localhost). The inet_gethost_native is a process, started on demand, under a supervisor_bridge under the kernel_sup, but it is not a gen_server process or the like, so it has nothing in '$ancestors' in its process dictionary to indicate it is part of kernel.
* | Add Ali Sabil to THANKS fileTuncer Ayaz2011-12-291-0/+1
|/
* Add {vsn, _} support for reltool.configAli Sabil2011-12-281-1/+15
|
* Move vcs_vsn/2 to rebar_utilsTuncer Ayaz2011-12-282-58/+58
|
* Add support for customising common test directoryTim Watson2011-12-284-2/+9
| | | | | | | This patch allows users to specify the directory in which common_test source files can be found. Most common_test suites are integration, rather than unit tests and keeping the sources apart from test sources for other frameworks such as eunit and PropEr is a useful feature.
* bootstrap: do not ignore write_file return valueTuncer Ayaz2011-12-251-3/+5
|
* bootstrap: generate windows scriptsMatt Campbell2011-12-253-5/+22
|
* Comment out vm argsTuncer Ayaz2011-12-211-4/+4
|
* Trim reltool config and add nodeid to releaseTuncer Ayaz2011-12-201-9/+13
|
* Remove trailing whitespace in rebar_reltoolTuncer Ayaz2011-12-191-1/+1
|
* Fix rebar_core crash (reported-by: Jeremy Raymond)Tuncer Ayaz2011-12-181-17/+24
|
* Fix help text formattingTuncer Ayaz2011-12-161-1/+1
|
* Universally support apps=/skip_apps=Tuncer Ayaz2011-12-127-156/+166
|
* Move is_skipped_app/0 to rebar_app_utilsTuncer Ayaz2011-12-123-41/+39
|
* Add rebar_utils:deprecated/4 and remove defineTuncer Ayaz2011-12-122-10/+10
|
* rebar_xref: move code to proper placeTuncer Ayaz2011-12-121-4/+4
|
* Add Torbjorn Tornkvist to THANKS fileTuncer Ayaz2011-12-121-0/+1
|
* Make 'rebar xref' honour the skip_app directiveTorbjorn Tornkvist2011-12-122-2/+46
| | | | | | | | | | | | It is now possible to call rebar as: rebar xref skip_app=Mod1,Mod2,... This makes it easy to skip running xref on (e.g) imported dependencies in your application. The function rebar_utils:is_skipped_app/0 is added so that other rebar commands may use it.
* Add Jesse Gumm to THANKS fileTuncer Ayaz2011-12-081-0/+1
|
* Fail if erl_interface not foundJesse Gumm2011-12-081-2/+10
| | | | | | Previously if erl_interface could not be found {error, not_found} was incorrectly used as a path. With this change we fail early with a descriptive error message.
* Update sample hooks configTuncer Ayaz2011-12-051-1/+4
|
* Add support for arch-specific hooksTuncer Ayaz2011-12-051-1/+10
| | | | | {pre_hooks, [{"linux", compile, "c_src/build_linux.sh"}]}. {post_hooks, [{"linux", compile, "c_src/build_linux.sh clean"}]}.
* Document port_first_filesTuncer Ayaz2011-11-301-0/+3
|
* Add support for first_files to port compilerTim Watson2011-11-301-3/+22
| | | | | This patch adds support for first_files to the port_compiler, via the new `port_first_files` rebar config element.
* Add root_dir= to shell completionTuncer Ayaz2011-11-261-1/+1
|
* Fix and refactor reltool root_dir lookupTuncer Ayaz2011-11-261-18/+31
|
* Limit line lengthTuncer Ayaz2011-11-261-1/+2
|
* Add Smith Winston to THANKS fileTuncer Ayaz2011-11-261-0/+1
|
* Add root_dir option to reltool.configsmithwinston2011-11-262-1/+22
| | | | | | | | | | | | | | | | | When generating a node using rebar generate, rebar always used code:root_dir() to find the Erlang installation to clone into the node tree. However, for anyone wishing to build a cross-compiled node, there was no way to override this. This patch adds a new option to reltool.config file to allow an alternate root_dir to be specified, for example: {root_dir, "/tmp/otp_R14B03_armv7l"} This assumes that the contents of /tmp/otp_R14B03_armv7l has been generated using the instructions found in the xcomp directory in your $ERL_TOP structure. NOTE: you may have to add additional filters to exclude files not present in the xcomp version, such as the .smp files if you have disabled that.
* Treat HEAD as a branch to fix regressions caused by 3ef7db5Bob Ippolito2011-11-161-4/+4
|
* Remove gratuitous space in debug logTuncer Ayaz2011-11-091-1/+1
|
* Remove gratuitous prefix in error logTuncer Ayaz2011-11-081-1/+1
|
* Remove obsolete comments (thanks Tim Watson)Tuncer Ayaz2011-11-041-8/+0
|
* Stop applications before killing extra processesKlas Johansson2011-11-021-3/+4
| | | | | | This means that applications get a chance to shut down themselves, before rebar will start killing their processes. This avoids ERROR REPORTS from application supervisors.
* Fix rebar_utils:expand_env_variable/3Jan Kloetzke2011-11-011-1/+1
| | | | | | | | | | | The function may fail with a badarg exception because the first regex returns an iolist() which is allowed to be a improper list. In this case '++' cannot append to the iolist. The correct way to append something to an iolist() is [iolist(), "tail"] because iolist's are allowed to be arbitrarily deep lists.
* Fix formattingTuncer Ayaz2011-10-261-2/+2
|
* Fix comments and formattingTuncer Ayaz2011-10-262-9/+13
|
* Overhaul environment expansion for better performanceDave Smith2011-10-262-34/+53
| | | | | | | | | | The introduction of setup_env as a global concept caused the rebar_port_compiler implementation to start getting called a LOT. The expansion of environment variables that happens in the port compiler was O(n^n), which means you could see upwards of 80k invocations of lists:foldl on a single app "./rebar clean". This commit reworks the expansion to be O(n^2), and reduces the running time for the same operation by 60%+. On a large project like Riak, the end result is that a build went from 200 seconds to 73.
* Fix deps_dir sample configTuncer Ayaz2011-10-261-2/+2
|
* When profiling, save analysis results to diskDave Smith2011-10-251-3/+6
|
* Add support for -p flag to profile rebar runDave Smith2011-10-251-2/+17
|
* Add -D support to rebar_port_compilerTuncer Ayaz2011-10-231-1/+11
|
* Cleanup and fix -D for erl_optsTuncer Ayaz2011-10-231-3/+3
|
* Add -D optionTuncer Ayaz2011-10-222-8/+18
|
* Use same variable names as file:make_link/2Tuncer Ayaz2011-10-211-3/+3
|
* Add overlay command to shell completionTuncer Ayaz2011-10-201-1/+1
|