함수형 언어/Erlang

rebar eunit 수행 시 runtime argument 주기

manywaypark 2014. 8. 5. 17:48

복잡할 것없고 그냥 환경 변수 설정한다.

rebar.config에서 설정하려고 많이 검색했네... Orz.

ERL_FLAGS="-name foo@127.0.0.1 -setcookie bar" rebar skip_deps=true eunit


ref: http://stackoverflow.com/questions/10307575/passing-runtime-arguments-to-erlang-when-running-rebar-eunit


happy hackin'