Rebar and env

Anthony Molinaro anthonym at alumni.caltech.edu
Wed May 18 17:11:58 EDT 2011


Can't you have something in your src directory like

foo.app.src

which is what the ebin/foo.app is generated from?

Then you put whatever you want in there?

-Anthony

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 lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


-- 
------------------------------------------------------------------------
Anthony Molinaro                           <anthonym at alumni.caltech.edu>




More information about the riak-users mailing list