rebar/rebar — pull request #183 by lukyanov (2013-12-03 08:33:26+00:00)
Title: generate-upgrade can now take target_dir argument

Previous generate-upgrade required renames in rel/ directory:

rebar generate
...changing code...
mv rel/ rel/
rebar generate
rebar generate-upgrade previous_release=

With the proposed changes you can now do the same without moving things:

rebar generate # default target dir: rel/
...changing code...
rebar generate target_dir=
rebar generate-upgrade target_dir= previous_release=