Custom command line args to erl process when running eunit
tuncer.ayaz at gmail.com
Wed Apr 25 06:08:56 EDT 2012
On Wed, Apr 25, 2012 at 1:58 AM, Jesse Lauro wrote:
> I'm having an issue that I need some help with.
> In my startup script, I am starting erlang with:
> erl -args_file vm.args
> Currently, while trying to run unit tests with rebar eunit is there
> a way for me to pass custom runtime arguments such as the -args_file
> option to the erlang process that rebar kicks off? I have searched
> docs high and low to no avail...
> I appreciate the help.
See ERL_AFLAGS and ERL_ZFLAGS/ERL_FLAGS in erl(1).
$ ERL_FLAGS="-args_file vm.args" rebar eunit
More information about the rebar