Current section

Files

Jump to
kura rebar.config
Raw

rebar.config

{erl_opts, [debug_info, warnings_as_errors]}.
{deps, [
{telemetry, "~> 1.0"}
]}.
{project_plugins, [
erlfmt,
rebar3_hex,
rebar3_ex_doc,
rebar3_lint,
rebar3_hank,
rebar3_sheldon,
{rebar3_mutate, "~> 0.4.4"},
covertool,
{rebar3_audit, "~> 0.2"},
{rebar3_sbom,
{git, "https://github.com/Taure/rebar3_sbom.git", {branch, "feat/include-otp-components"}}}
]}.
{erlfmt, [write]}.
{hank, [
{ignore, [
{"test/**", [unnecessary_function_arguments]},
{"src/kura_dialect.erl", [unused_callbacks]},
{"src/kura_driver.erl", [unused_callbacks]},
{"src/kura_migration.erl", [unused_callbacks]},
{"src/kura_pool.erl", [unused_callbacks]},
{"src/kura_schema.erl", [unused_callbacks]},
{"src/kura_type.erl", [unused_callbacks]}
]}
]}.
{spellcheck, [
{files, ["src/**/*.erl", "include/**/*.hrl"]},
{ignore, [
"src/kura_query_compiler.erl",
"src/kura_preloader.erl",
"src/kura_types.erl",
"src/kura_changeset.erl",
"src/kura_repo_worker.erl"
]},
{ignore_regex, "[_@./#&+-=%*~$]"}
]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["eunit.coverdata", "ct.coverdata"]}]}.
{eunit_opts, [
{exclude_modules, [kura_stream_bench]}
]}.
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [
{pgo, "~> 0.20"},
{proper, "~> 1.4"}
]}
]}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{dialyzer, [
{warnings, [
error_handling,
unmatched_returns
]}
]}.
{hex, [
{doc, #{provider => ex_doc}},
{include_files, [
<<"src">>,
<<"include">>,
<<"priv">>,
<<"rebar.config">>,
<<"rebar.lock">>,
<<"README.md">>,
<<"CHANGELOG.md">>,
<<"MIGRATION-2.0.md">>,
<<"LICENSE">>,
<<"guides">>
]}
]}.
{ex_doc, [
{source_url, <<"https://github.com/Taure/kura">>},
{logo, <<"priv/kura.png">>},
{skip_undefined_reference_warnings_on, [<<"CHANGELOG.md">>]},
{extras, [
<<"README.md">>,
<<"CHANGELOG.md">>,
<<"MIGRATION-2.0.md">>,
<<"guides/getting-started.md">>,
<<"guides/changesets.md">>,
<<"guides/schemaless-changesets.md">>,
<<"guides/constraints-and-indexes.md">>,
<<"guides/query-builder.md">>,
<<"guides/associations.md">>,
<<"guides/cast_assoc.md">>,
<<"guides/embedded-schemas.md">>,
<<"guides/multi.md">>,
<<"guides/migrations.md">>,
<<"guides/rolling_deployments.md">>,
<<"guides/enums.md">>,
<<"guides/telemetry.md">>,
<<"guides/lifecycle-hooks.md">>,
<<"guides/audit-trail.md">>,
<<"guides/pagination.md">>,
<<"guides/streaming.md">>,
<<"guides/multitenancy.md">>,
<<"guides/optimistic-locking.md">>,
<<"guides/testing.md">>,
<<"guides/architecture.md">>,
<<"LICENSE">>
]},
{groups_for_extras, [
{<<"Getting Started">>, [
<<"guides/getting-started.md">>
]},
{<<"Guides">>, [
<<"guides/changesets.md">>,
<<"guides/schemaless-changesets.md">>,
<<"guides/constraints-and-indexes.md">>,
<<"guides/query-builder.md">>,
<<"guides/associations.md">>,
<<"guides/cast_assoc.md">>,
<<"guides/embedded-schemas.md">>,
<<"guides/multi.md">>,
<<"guides/migrations.md">>,
<<"guides/rolling_deployments.md">>,
<<"guides/enums.md">>,
<<"guides/telemetry.md">>,
<<"guides/lifecycle-hooks.md">>,
<<"guides/audit-trail.md">>,
<<"guides/pagination.md">>,
<<"guides/streaming.md">>,
<<"guides/multitenancy.md">>,
<<"guides/optimistic-locking.md">>,
<<"guides/testing.md">>
]},
{<<"Reference">>, [
<<"guides/architecture.md">>,
<<"CHANGELOG.md">>,
<<"MIGRATION-2.0.md">>
]}
]},
{groups_for_modules, [
{<<"Core">>, [kura_schema, kura_changeset, kura_query, kura_repo, kura_repo_worker]},
{<<"Features">>, [
kura_multi,
kura_types,
kura_migration,
kura_migrator,
kura_audit,
kura_audit_log,
kura_paginator,
kura_stream,
kura_tenant,
kura_sandbox
]},
{<<"Internal">>, [kura_query_compiler]}
]},
{main, <<"README.md">>},
{homepage_url, <<"https://github.com/Taure/kura">>},
{api_reference, true}
]}.