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.
13 vuotta sitten
Tuncer Ayaz
da31f90d1d
Rename rebar_plugins to plugins for consistency
13 vuotta sitten
Tuncer Ayaz
03794f46f8
Add Scott Lystig Fritchie to THANKS file
13 vuotta sitten
Tuncer Ayaz
461335acf9
Reformat bootstrap
13 vuotta sitten
Scott Lystig Fritchie
92129d6dd2
Document use of -noshell -noinput in emu_opts
13 vuotta sitten
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.
13 vuotta sitten
Tuncer Ayaz
2911d48fb1
Remove trailing whitespace
13 vuotta sitten
Tuncer Ayaz
4f41e742d3
rebar_eunit_tests: avoid repetition
13 vuotta sitten
Tuncer Ayaz
e3fe1c6903
rebar_eunit_tests: check return values
13 vuotta sitten
Dave Smith
773a3dc1f5
Merge pull request #102 from dreid/quiet-cover
Redirect cover module output to .eunit/cover.log
13 vuotta sitten
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.
13 vuotta sitten
Tuncer Ayaz
798e510248
Update THANKS file
13 vuotta sitten
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.
13 vuotta sitten
Tuncer Ayaz
f08f13d103
Extend app resource file existence checks
13 vuotta sitten
Tuncer Ayaz
5f2930b701
Fix whitespace errors in unit tests
13 vuotta sitten
Tuncer Ayaz
fe75f8efce
Add Tino Breddin to THANKS file
13 vuotta sitten
Tino Breddin
578ba06ad9
Add awareness of 'app' parameter to ct module
14 vuotta sitten
Tuncer Ayaz
1ef230262b
Extend port compiler default env for Darwin 11 32-bit
13 vuotta sitten
Tuncer Ayaz
ade0ce21a6
Add Mattias Holmlund to THANKS file
13 vuotta sitten
Tuncer Ayaz
1846a5086c
Remove unused function rebar_utils:deprecated/4
13 vuotta sitten
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.
13 vuotta sitten
Tuncer Ayaz
112f74cac1
Adapt basicnif template to OTP changes
13 vuotta sitten
Tuncer Ayaz
edf4bbc370
Fix error handling bug in {copy,In,Out} template
13 vuotta sitten
Tuncer Ayaz
d9ef6fbd53
Optimize list ops and error reporting in sh/2
13 vuotta sitten
Tuncer Ayaz
a9a7d7c02b
Apply Tidier suggestions
13 vuotta sitten
Tuncer Ayaz
e21166ae6f
Sync rel/files in dummy project with templates
13 vuotta sitten
Tuncer Ayaz
a4ffe1ce62
Use filename:join/1
13 vuotta sitten
Tuncer Ayaz
734d30f96e
Modernize basicnif template code
13 vuotta sitten
Tuncer Ayaz
4e0ab4065f
Fix grep portability (Reported-by: Andrew Thompson)
14 vuotta sitten
Tuncer Ayaz
12b26fab32
Change shebang lines to /bin/sh
14 vuotta sitten
Andrew Thompson
6749bb6ac0
Propagate exit status from nodetool to runner script
14 vuotta sitten
Tuncer Ayaz
c63002bef8
Whitespace cleanups
14 vuotta sitten
joewilliams
d215cae496
get_reltool_release_info now expects consulted data
14 vuotta sitten
Joe Williams
16fe8c09e5
Merge pull request #97 from tdx/tdx-appup-new-app
Skip appup generation for new app in release
14 vuotta sitten
Andrew Gopienko
695ff290b3
skip appup generation for new app in release
14 vuotta sitten
Tuncer Ayaz
5e04e7db00
Add Alexis Sellier to THANKS file
14 vuotta sitten
cloudhead
dd9adac8c4
Add support for {copy, src, dst} to templater
14 vuotta sitten
Tuncer Ayaz
45f44c2166
Fix {git,Url} support (Reported-by: Garrett Smith)
14 vuotta sitten
Tuncer Ayaz
7118ec6612
Use auto-imported element/2
14 vuotta sitten
Tuncer Ayaz
1ec92ebac3
Do not warn if pre_/post_ cmd is not available
14 vuotta sitten
Tuncer Ayaz
0f08e768a7
Remove duplicate entry (Reported-by: Siri Hansen)
14 vuotta sitten
Tuncer Ayaz
cc2447f1b1
Correct sub_dirs loop log message
14 vuotta sitten
Tuncer Ayaz
e0a86868ca
Log if sub_dirs loop is detected
14 vuotta sitten
Tuncer Ayaz
8263f12594
Add support for $HOME/.rebar/config
14 vuotta sitten
Dave Smith
2d353f82a3
Merge pull request #94 from tdx/tdx_mode_embedded
fix erlexec parameter
14 vuotta sitten
Andrew Gopienko
a8de2e91ba
fix erlexec parameter
14 vuotta sitten
Tuncer Ayaz
f27d47b1f7
Add Steven Gravell to THANKS file
14 vuotta sitten
Tuncer Ayaz
b571e7b52f
Fix logging (reported-by Sergey Yelin)
14 vuotta sitten
Joe Williams
18d4ddc8d0
Merge pull request #90 from smarkets/upgrade-fixes
look for new and old versions in the target parent
14 vuotta sitten
Joe Williams
4c5ec87988
Merge pull request #91 from smarkets/appup-load-module-fix
default module appup instruction -> load_module
14 vuotta sitten