Current section
Files
Jump to
Current section
Files
rebar.config.script
% vim: set ft=erlang:
RunningOnCI = os:getenv("RUNNING_ON_CI"),
try RunningOnCI =:= false andalso hipe:module_info() of
false ->
CONFIG;
[_|_] ->
{_, ErlOpts} = lists:keyfind(erl_opts, 1, CONFIG),
Tuple = {d,'HIPE_SUPPORTED'},
lists:keystore(erl_opts, 1, CONFIG, {erl_opts, [Tuple|ErlOpts]})
catch
error:undef ->
CONFIG
end.