Commit graph

666 commits

Author SHA1 Message Date
Tuncer Ayaz
8fb385f312 Limit line length 2011-08-20 18:26:59 +02:00
Jan Klötzke
7ec9b48d50 Support command invocation on Windows without MSYS
If MSYS (with bash) is not installed on Windows then do the shell
variable substitution by ourselves. Otherwise just call bash to do the
job.
2011-08-20 18:20:26 +02:00
Tim Watson
5bb536f839 Respect the --config switch when given
Currently the --config switch does not work because when loading
a new rebar config the global setting is ignored for all paths.
This patch provides a check when loading new rebar config to see
whether or not the current config path matches the `base_dir` set in
global conf, which produces the expected behaviour.
2011-08-18 15:35:30 +02:00
Tuncer Ayaz
da31f90d1d Rename rebar_plugins to plugins for consistency 2011-08-16 17:34:09 +02:00
Tuncer Ayaz
03794f46f8 Add Scott Lystig Fritchie to THANKS file 2011-08-16 15:26:36 +02:00
Tuncer Ayaz
461335acf9 Reformat bootstrap 2011-08-16 15:26:02 +02:00
Scott Lystig Fritchie
92129d6dd2 Document use of -noshell -noinput in emu_opts 2011-08-16 15:14:00 +02:00
David Reid
6736e3147e Fix handling of {already_started,Pid} from cover:start
Previous patch erroneously assumed that cover:start() returned
{already_started,Pid} in the cases where cover was already started. We
now turn {error,{already_started,Pid}} into {ok, Pid} and return
{error, Reason} if we encounter an error we do not know about, this
will cause a nice and violent badmatch to stop everything.
2011-08-10 18:32:58 +02:00
Tuncer Ayaz
2911d48fb1 Remove trailing whitespace 2011-08-08 22:35:45 +02:00
Tuncer Ayaz
4f41e742d3 rebar_eunit_tests: avoid repetition 2011-08-07 16:21:43 +02:00
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