Packages

Apache Thrift-compatible runtime for Erlang clients and servers

Current section

Files

Jump to
thrift_runtime rebar.config
Raw

rebar.config

%% Duplicated from the umbrella root: the app directory doubles as a
%% standalone project for hex publishing (rebar3 hex runs there).
{minimum_otp_vsn, "28"}.

{erl_opts, [
    debug_info,
    warnings_as_errors
]}.

%% hexdocs.pm rendering: `rebar3 hex publish` runs the ex_doc provider
%% from this directory. rebar3_ex_doc fetches the ex_doc escript itself
%% (no Elixir installation needed) and renders the EEP-48 docs chunks
%% the OTP 28+ compiler emits for -doc/-moduledoc. Duplicated per app
%% because the hex commands treat the app directory as the project.
{project_plugins, [rebar3_hex, rebar3_ex_doc]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
    {source_url, <<"https://github.com/kpy3/thrift-erl">>},
    {extras, [<<"README.md">>]},
    {main, <<"README.md">>}
]}.