summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Check for .app.src firstTuncer Ayaz2012-01-131-2/+2
|
* Fix code clarity in dir type checkTuncer Ayaz2012-01-131-9/+5
|
* Warn if we ignore a skip_dir's sub_dirsTuncer Ayaz2012-01-131-4/+7
|
* Add missing newline for logging code path updateTuncer Ayaz2012-01-131-1/+1
|
* Ignore sub_dirs in skip_dirsTuncer Ayaz2012-01-101-5/+10
|
* Clean up rebar_utilsTuncer Ayaz2012-01-101-30/+30
|
* Remove port_first_files supportTuncer Ayaz2012-01-091-22/+3
|
* Fix whitespace errorsTuncer Ayaz2012-01-091-16/+25
|
* Fix Dialyzer warningTuncer Ayaz2012-01-091-4/+7
|
* On windows, avoid symlink during upgradeMatt Campbell2012-01-091-5/+17
| | | | | | | a) make_symlink throws "not supported" on OS < Vista (e.g. 2003) b) tarball creation stores windows symlinks as absolute paths instead of relative, causing service to fail to start after upgrade is made permanent.
* Deprecate ct suite= option for suites= optionMagnus Klaar2012-01-062-13/+18
|
* Reverse order in rebar_utils:get_deprecated_global/3Tuncer Ayaz2012-01-061-7/+7
|
* Cleanup and simplify deprecated option handlingTuncer Ayaz2012-01-012-23/+18
|
* 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 {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-281-1/+2
| | | | | | | 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.
* 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-126-154/+164
|
* Move is_skipped_app/0 to rebar_app_utilsTuncer Ayaz2011-12-123-41/+39
|
* Add rebar_utils:deprecated/4 and remove defineTuncer Ayaz2011-12-121-7/+10
|
* rebar_xref: move code to proper placeTuncer Ayaz2011-12-121-4/+4
|
* 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.
* 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.
* 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"}]}.
* 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.
* Fix and refactor reltool root_dir lookupTuncer Ayaz2011-11-261-18/+31
|
* Limit line lengthTuncer Ayaz2011-11-261-1/+2
|
* 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.
* 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 possibility to make symbolic linksPrzemysław Dąbek2011-10-201-0/+10
| | | | Simple feature, useful to make link to something without copying it.
* Work around functions not found in sourceFabian Linzberger2011-10-201-5/+11
| | | | | | | | | | | | For parameterized modules, the beam code will have a compiler generated new/1 and instance/1 function. If while checking the beam, xref detects one of those is unused, the rebars xref wrapper will try to find the location of the definition of that function in the source code for the module (to give a more specific warning to the user). Since the function was generated by the compiler it does not actually exist in the source, and rebar crashes at that stage. This patch works around that issue.
* Add overlay command to run overlays onlySteven Gravell2011-10-202-25/+39
| | | | | | | | required for building on a different machine to what your live config is kept on. This way you can build on one machine, distribute to new machine, then run overlays against a live config to prevent accidently running code against a live config in a development or ci environment.
* Setup code path prior to calling edocJoseph Wayne Norton2011-10-201-0/+19
| | | | | | Setup code path prior to calling edoc so that edown, asciiedoc, and the like can work properly when generating their own documentation.