[erlang-questions] customizing the rebar-generated .app file

Joel Reymont joelr1@REDACTED
Wed Oct 5 15:30:41 CEST 2011


I would like to customize the app file created by rebar.

For example, I would like to change the env section and make sure applications includes mnesia and lager.

Last but not least, I would like to change the version to the output of `git rev-parse --short HEAD`.

I used to have a template file that I would run sed on to change the version. I would like to let rebar keep the modules up to date, though. 

Can I have my cake and eat it too?

	Thanks, Joel

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------




More information about the erlang-questions mailing list