Rebar and env

Anthony Molinaro anthonym at
Wed May 18 17:11:58 EDT 2011

Can't you have something in your src directory like

which is what the ebin/ is generated from?

Then you put whatever you want in there?


On Wed, May 18, 2011 at 12:23:20PM -0700, Mike Oxford wrote:
> I do not see a facility in Rebar to pass variables through to the command
> line after a generate.
> The .app file is transient (will be destroyed and rebuilt on a clean), and
> generating nodes kinda needs -f which blows stuff away there too.
> I need to pass an option to gproc to turn on gproc_dist and I do not see any
> way to do it (that will not be blown away from a subsequent cleaning.)
> Is there a way to do this?  Or set some env flags in, say, rebar.config
> somewhere to get it to work?
> TIA!
> -mox

> _______________________________________________
> riak-users mailing list
> riak-users at

Anthony Molinaro                           <anthonym at>

More information about the riak-users mailing list