gorealis-v2/vendor/git.apache.org/thrift.git/lib/erl/rebar.config.script
Renan DelValle 8d445c1c77
Moving from govendor to dep, updated dependencies (#48)
* Moving from govendor to dep.

* Making the pull request template more friendly.

* Fixing akward space in PR template.

* goimports run on whole project using ` goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*")`

source of command: https://gist.github.com/bgentry/fd1ffef7dbde01857f66
2018-01-07 13:13:47 -08:00

7 lines
270 B
Text

Def0 = case not erlang:is_builtin(erlang, monotonic_time, 0) of
true -> [];
false -> [{d, time_correction}]
end,
Defs = Def0,
lists:keystore(erl_opts, 1, CONFIG,
{erl_opts, proplists:get_value(erl_opts, CONFIG, []) ++ Defs}).