rebar/rebar — pull request #254 by tuncer (2014-03-30 18:28:49+00:00)
Title: Fix base_dir 'rebar generate' (#253)

If the dir we're about to process contains "reltool.config" and the
command to be applied is "generate", then it's safe to process. We
do this to retain the previous behavior of specifying {sub_dirs, ["rel"]}
and have "rebar generate" invoked from base_dir generate a release
in rel/. Without this workaround you'd have to run "rebar -r generate"
(which you don't want to do if you have deps or other sub_dirs)
or "cd rel && rebar generate".