Packages
hex_core
0.21.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.0
0.18.0
0.17.0
0.16.1
0.16.0
0.15.0
0.14.1
0.14.0
0.13.0
0.12.2
0.12.1
retired
0.12.0
0.11.0
0.10.3
0.10.2
0.10.1
0.10.0
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.1
0.7.0
0.6.10
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.0
0.3.0
retired
0.2.1
0.2.0
0.1.1
0.1.0
Reference implementation of Hex specifications
Current section
Files
Jump to
Current section
Files
rebar.config
{erl_opts, [
debug_info
]}.
{project_plugins, [rebar3_hex, rebar3_ex_doc, erlfmt]}.
{gpb_opts, [
{i, "proto"},
{o_erl, "src"},
{o_hrl, "src"},
{verify, always},
{strings_as_binaries, true},
{maps, true},
{maps_unset_optional, omitted},
{report_warnings, true},
{target_erlang_version, 17}
]}.
{ex_doc, [
{source_url, <<"https://github.com/hexpm/hex_core">>},
{extras, [<<"README.md">>, <<"CHANGELOG.md">>]},
{main, <<"readme">>},
{skip_undefined_reference_warnings_on, [<<"CHANGELOG.md">>]}
]}.
{hex, [{doc, #{provider => ex_doc}}]}.
{erlfmt, [
write,
{files, ["{src,test,examples}/*.{hrl,erl,app.src}", "rebar.config"]},
{exclude_files, ["src/hex_pb_*.erl", "src/hex_erl_tar.{hrl,erl}", "src/safe_erl_term.erl"]}
]}.
{profiles, [
{dev, [
{deps, [
{gpb, "4.21.1"}
]},
{plugins, [
{rebar3_gpb_plugin, "2.23.1"}
]},
{overrides, [
{del, rebar3_gpb_plugin, [
{deps, [gpb]}
]}
]},
{provider_hooks, [
{pre, [
{compile, {protobuf, compile}},
{clean, {protobuf, clean}}
]}
]}
]},
{test, [
{erl_opts, [nowarn_export_all]},
{ct_opts, [
{create_priv_dir, auto_per_tc},
{config, "test/ct.config"}
]},
{plugins, [
rebar3_proper
]},
{deps, [
{proper, "1.3.0"}
]},
{extra_src_dirs, ["test/support"]}
]}
]}.