Commit graph

956 commits

Author SHA1 Message Date
Tuncer Ayaz
e3fe1c6903 rebar_eunit_tests: check return values 2011-08-07 16:21:40 +02:00
Dave Smith
773a3dc1f5 Merge pull request #102 from dreid/quiet-cover
Redirect cover module output to .eunit/cover.log
2011-08-05 10:15:15 -07:00
David Reid
0edf52b539 Redirect cover module output to .eunit/cover.log
The cover module calls io:format and io:fwrite directly for several types of
informational messages and warnings.  When using meck to mock covered modules
these warnings are triggered and can cause severe polution of the test output.

We can avoid this by starting cover explicitly then setting the group_leader
of that process to a file handle.
2011-08-05 10:04:14 -07:00
Tuncer Ayaz
798e510248 Update THANKS file 2011-08-05 17:08:18 +02:00
Anders Nygren
2632cbc2cf Generate .hrl file from .mib
Generate .hrl files into include from SNMP MIB files.
Change the order of so .mib files are built before .erl
This is necessary since .hrl files are generated from
the .mib files.
The generated .bin and .hrl files are deleted by clean.

This is a cleaned up version of a patch originally
sent to the rebar mailing list by David Nonnenmacher.
2011-08-05 17:07:23 +02:00
Tuncer Ayaz
f08f13d103 Extend app resource file existence checks 2011-08-05 10:45:21 +02:00
Tuncer Ayaz
5f2930b701 Fix whitespace errors in unit tests 2011-08-05 01:52:33 +02:00
Tuncer Ayaz
fe75f8efce Add Tino Breddin to THANKS file 2011-08-04 18:38:49 +02:00
Tino Breddin
578ba06ad9 Add awareness of 'app' parameter to ct module 2011-08-04 18:38:49 +02:00
Tuncer Ayaz
1ef230262b Extend port compiler default env for Darwin 11 32-bit 2011-08-01 16:36:35 +02:00
Tuncer Ayaz
ade0ce21a6 Add Mattias Holmlund to THANKS file 2011-07-28 22:30:47 +02:00
Tuncer Ayaz
1846a5086c Remove unused function rebar_utils:deprecated/4 2011-07-28 22:29:02 +02:00
Mattias Holmlund
d35f343f79 Restore R13B03 compatibility for building rebar
The ability to overload macros was added in Erlang R13B04.
The second form was not used anyway.
2011-07-28 22:27:54 +02:00
Tuncer Ayaz
112f74cac1 Adapt basicnif template to OTP changes 2011-07-19 17:37:48 +02:00
Tuncer Ayaz
edf4bbc370 Fix error handling bug in {copy,In,Out} template 2011-07-18 18:58:20 +02:00
Tuncer Ayaz
d9ef6fbd53 Optimize list ops and error reporting in sh/2 2011-07-18 18:58:20 +02:00
Tuncer Ayaz
a9a7d7c02b Apply Tidier suggestions 2011-07-18 18:58:20 +02:00
Tuncer Ayaz
e21166ae6f Sync rel/files in dummy project with templates 2011-07-18 18:58:20 +02:00
Tuncer Ayaz
a4ffe1ce62 Use filename:join/1 2011-07-18 18:58:15 +02:00
Tuncer Ayaz
734d30f96e Modernize basicnif template code 2011-07-17 18:38:33 +02:00
Tuncer Ayaz
4e0ab4065f Fix grep portability (Reported-by: Andrew Thompson) 2011-07-14 13:03:54 +02:00
Tuncer Ayaz
12b26fab32 Change shebang lines to /bin/sh 2011-07-13 18:00:52 +02:00
Andrew Thompson
6749bb6ac0 Propagate exit status from nodetool to runner script 2011-07-13 17:59:49 +02:00
Tuncer Ayaz
c63002bef8 Whitespace cleanups 2011-07-13 17:59:07 +02:00
joewilliams
d215cae496 get_reltool_release_info now expects consulted data 2011-07-12 09:08:34 -07:00
Joe Williams
16fe8c09e5 Merge pull request #97 from tdx/tdx-appup-new-app
Skip appup generation for new app in release
2011-07-11 09:13:43 -07:00
Andrew Gopienko
695ff290b3 skip appup generation for new app in release 2011-07-11 13:00:17 +07:00
Tuncer Ayaz
5e04e7db00 Add Alexis Sellier to THANKS file 2011-07-08 20:18:43 +02:00
cloudhead
dd9adac8c4 Add support for {copy, src, dst} to templater 2011-07-08 11:32:23 -06:00
Tuncer Ayaz
45f44c2166 Fix {git,Url} support (Reported-by: Garrett Smith) 2011-07-08 14:04:11 +02:00
Tuncer Ayaz
7118ec6612 Use auto-imported element/2 2011-07-08 14:01:25 +02:00
Tuncer Ayaz
1ec92ebac3 Do not warn if pre_/post_ cmd is not available 2011-07-08 13:40:47 +02:00
Tuncer Ayaz
0f08e768a7 Remove duplicate entry (Reported-by: Siri Hansen) 2011-07-08 13:08:07 +02:00
Tuncer Ayaz
cc2447f1b1 Correct sub_dirs loop log message 2011-07-07 15:31:43 +02:00
Tuncer Ayaz
e0a86868ca Log if sub_dirs loop is detected 2011-07-06 20:31:40 +02:00
Tuncer Ayaz
8263f12594 Add support for $HOME/.rebar/config 2011-07-06 20:14:15 +02:00
Dave Smith
2d353f82a3 Merge pull request #94 from tdx/tdx_mode_embedded
fix erlexec parameter
2011-07-06 08:02:21 -07:00
Andrew Gopienko
a8de2e91ba fix erlexec parameter 2011-07-05 12:47:25 +07:00
Tuncer Ayaz
f27d47b1f7 Add Steven Gravell to THANKS file 2011-07-04 13:08:10 +02:00
Tuncer Ayaz
b571e7b52f Fix logging (reported-by Sergey Yelin) 2011-07-04 13:07:24 +02:00
Joe Williams
18d4ddc8d0 Merge pull request #90 from smarkets/upgrade-fixes
look for new and old versions in the target parent
2011-07-01 11:16:14 -07:00
Joe Williams
4c5ec87988 Merge pull request #91 from smarkets/appup-load-module-fix
default module appup instruction -> load_module
2011-07-01 11:09:53 -07:00
Steven Gravell
d00845b490 default module appup instruction -> load_module 2011-07-01 18:28:48 +01:00
Steven Gravell
0f5e393292 look for new and old versions in the target parent
The target_dir config in reltool allows you to put your release in
a directory other than in ./NAME, so we should look in the parent
directory of that to find the new and old versions instead of
simply looking in ./

Move untaring and retaring into a temporary path instead of in ./
to prevent name collisions with "releases" and "lib" that might
exist already. Having a subdirectory rel/releases/ can be useful.
2011-07-01 18:04:32 +01:00
Tuncer Ayaz
3e4138537f Add Mathias Meyer to THANKS file 2011-06-14 12:15:35 +02:00
Mathias Meyer
2e64e91c0c Add options for escript shebang, command, emu_args
Allows customizing the arguments handed over to the Erlang VM, e.g. to
set a name or a cookie, e.g. by setting escript_emu_args to:

%%! -name rebar -setcookie rebar
2011-06-14 12:13:09 +02:00
Tuncer Ayaz
e4b223b7cd Update THANKS file 2011-06-13 21:46:02 +02:00
Jan Klötzke
a3a02ef944 Fix rebar.bat path handling
Use "%~f0" to get the full path of rebat.bat to correctly locate the
rebar script. Also put the script name in quotes when passing it to
escript.exe to correctly handle paths with spaces.
2011-06-13 19:36:57 +02:00
Tuncer Ayaz
013a49a941 Add list-deps to completion and abbrev-cmds 2011-06-10 17:20:49 +02:00
Dave Smith
b6abc6a64d Merge pull request #84 from jaredmorrow/jm-list-deps-doc
Add command listing for list-deps
2011-06-10 08:16:30 -07:00