title: Rebar release, app options config
body: <p>I have this on my Makefile:</p>
  
  <pre><code>CONFIG ?= "apps/${NODE}/priv/app.config"
  RUN := erl -pa apps/${NODE}/ebin -pa deps/*/ebin -smp enable -s lager -boot start_sasl -config ${CONFIG} ${ERL_ARGS}
  </code></pre>
  
  <p>How do I pass the <code>-config apps/appname/priv/app.config</code> and <code>-s lager</code> options while using <code>rebar generate</code></p>
  
  <p>I suspect it goes somewhere in reltool.config but not sure where ?</p>
  
  <p>Also, to clarify, 'rebar generate' works fine but when launching the generated version from the bin folder the error has to do with the config not being loaded.</p>