Rebar-tools is a project mainly written in ERLANG and SHELL, it's free.
Templates and scripts to automate rebar