kds/rebar.config
ndiezel0 6c4d623cca
CDS-65: Move CDS Keyring to it's own service (#1)
* CDS-65: Move CDS Keyring to it's own service

* CDS-65: Add libdecaf to app.src and recon

* CDS-65: remove unneeded deps

* CDS-65: fix services order, remove .sp and fix README

* CDS-65: change log printing style for stacktrace and remove raising woody error with term()

* CDS-65: doc fix

* CDS-65: fix rebar.config

* CDS-65: review fixes

* CDS-65: fix tests

* CDS-65: fix format and woody raise error types

* CDS-65: move kds_keyring_client to test/ folder and introduce cipher macro

* CDS-65: move private keys to files in tests

* CDS-65: remove reverse list from tests and make convert_to_map/1 to convert_to_map/2

* CDS-65: Review fixes

* CDS-65: Compile fix

* CDS-65: Remove keyring storage env

* CDS-65: Make kds_keyring_storage_file stateful

* CDS-65: Add comments on why we can't catch exact shamir errors

* CDS-65: Rename service_code to service_name

Co-Authored-By: Andrew Mayorov <encube.ul@gmail.com>

* CDS-65: Review fixes

* CDS-65: Add stacktrace to keysharing error logging

* CDS-65: Lint fix

* CDS-65: app start fix

* CDS-65: fix dialyzer

* CDS-65: Introduce generic keyring_storage_opts in config
2019-06-21 11:46:13 +03:00

104 lines
3.0 KiB
Erlang

% Common project erlang options.
{erl_opts, [
debug_info,
warnings_as_errors,
warn_export_all,
warn_missing_spec,
% warn_untyped_record, %% FIXME shamir.hrl share record is broken
warn_export_vars,
warn_unused_record,
warn_bif_clash,
warn_obsolete_guard,
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_deprecated_function
]}.
% Common project dependencies.
{deps, [
{lib_combin, "0.1.5"},
{jsx, "2.9.0"},
{jose, "1.9.0"},
{recon , "2.3.2"},
{libdecaf, "1.0.0"},
{shamir , {git, "git@github.com:rbkmoney/shamir.git" , {branch, master}}} ,
{woody , {git, "git@github.com:rbkmoney/woody_erlang.git" , {branch, master}}} ,
{logger_logstash_formatter, {git, "git@github.com:rbkmoney/logger_logstash_formatter.git", {branch, master}}} ,
{genlib , {git, "git@github.com:rbkmoney/genlib.git" , {branch, master}}} ,
{how_are_you , {git, "https://github.com/rbkmoney/how_are_you.git" , {branch, master}}} ,
{erl_health , {git, "https://github.com/rbkmoney/erlang-health.git" , {branch, master}}} ,
{cds_proto , {git, "git@github.com:rbkmoney/cds-proto.git" , {branch, master}}} ,
{msgpack , {git, "https://github.com/rbkmoney/msgpack-erlang" , {branch, master}}} ,
{scoper , {git, "git@github.com:rbkmoney/scoper.git" , {branch, master}}}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
% locals_not_used,
deprecated_functions_calls,
deprecated_functions
]}.
{relx, [
{release, {kds, "0.1.0"}, [
{recon, load},
{libdecaf, load},
{logger_logstash_formatter, load},
kds
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
{dialyzer, [
{warnings, [
unmatched_returns,
error_handling,
race_conditions,
%underspecs,
unknown
]},
{plt_apps, all_deps}
]}.
{profiles, [
{prod, [
{relx, [
{dev_mode, false},
{include_erts, true},
{overlay, []}
]}
]},
{test, []},
{dev, [
{plugins, [
rebar3_run
]}
]}
]}.
{plugins, [
{rebar3_thrift_compiler,
{git, "https://github.com/rbkmoney/rebar3_thrift_compiler.git", {tag, "0.3.1"}}}
]}.
{overrides, [
{override, rebar3_protobuffs_plugin, [
{deps, [
{protobuffs, {git, "git://github.com/basho/erlang_protobuffs.git", {tag, "0.8.2"}}}
]}
]},
{override, protobuffs, [
{deps, []}
]},
{override, hamcrest, [
{plugins, []}
]}
]}.