From c847594e052d8b5ec4a3b3f66cc7c4a3567bf796 Mon Sep 17 00:00:00 2001 From: John Newby Date: Thu, 8 Aug 2019 11:52:18 +0200 Subject: [PATCH] Basic rebar config --- rebar.config | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 rebar.config diff --git a/rebar.config b/rebar.config new file mode 100644 index 0000000..2913279 --- /dev/null +++ b/rebar.config @@ -0,0 +1,25 @@ + +{erl_opts, [{parse_transform, lager_transform}, {lager_extra_sinks, [ecrecover]}]}. + +{deps, [ + {lager, {git, "https://github.com/erlang-lager/lager.git", + {ref, "69b4ada"}}}, % tag: 3.6.7 + + %% ecrecover prebuilt libraries + {ecrecoverprebuilt, + {ecrecoverprebuilt_app_with_priv_from_git, + {git, "https://github.com/johnsnewby/ecrecover-prebuilt.git", + {ref, "e4d56592c485c054cc5c0207476685aa32130758"}}}} + ]}. + +{plugins, [{rebar_ecrecoverprebuilt_dep, + {git, "https://github.com/johnsnewby/rebar3-ecrecover-prebuilt-plugin.git"}} +%% {ref, "e4d56592c485c054cc5c0207476685aa32130758"}}} + ]}. + +%%{profiles, [{test, [{deps, [{meck, "0.8.12"}]}]}]}. + +{dialyzer, [{warnings, [unknown]}, + {plt_apps, all_deps}, + {base_plt_apps, [erts, kernel, stdlib, crypto]} + ]}.