diff --git a/elvis.config b/elvis.config index a611e88..67e7b28 100644 --- a/elvis.config +++ b/elvis.config @@ -3,12 +3,10 @@ [#{dirs => ["src"], filter => "*.erl", ruleset => erl_files}, - #{dirs => ["test"], - filter => "*.erl", - ruleset => erl_files}, #{dirs => ["."], filter => "rebar.config", - ruleset => rebar_config}, + ruleset => rebar_config, + rules => [{elvis_project, no_branch_deps, disable}]}, #{dirs => ["."], filter => "elvis.config", ruleset => elvis_config}]}]}]. diff --git a/rebar.config b/rebar.config index a27c3ad..f4231ff 100644 --- a/rebar.config +++ b/rebar.config @@ -29,6 +29,8 @@ {alias, [ {ci, [ + {unlock, "--all"}, + {upgrade, "--all"}, lint, {do, "default as test xref"}, {do, "default as test dialyzer"}, diff --git a/rebar.lock b/rebar.lock index f400f62..b50d811 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,24 +1,24 @@ +{"1.2.0", [{<<"arizona">>, {git,"https://github.com/arizona-framework/arizona", {ref,"96dbd6d6542c8ae85fd5a15046da5cdd35dae1f7"}}, 0}, - {<<"cowboy">>, - {git,"https://github.com/ninenines/cowboy.git", - {ref,"3ea8395eb8f53a57acb5d3c00b99c70296e7cdbd"}}, - 1}, - {<<"cowlib">>, - {git,"https://github.com/ninenines/cowlib", - {ref,"1eb7f4293a652adcfe43b1835d22c58d8def839f"}}, - 2}, - {<<"fs">>, - {git,"https://github.com/5HT/fs.git", - {ref,"936ba9dcf88186250ecc5995e25154bde44252a1"}}, - 1}, - {<<"gproc">>, - {git,"https://github.com/uwiger/gproc.git", - {ref,"4ca45e0a97722a418a31eb1753f4e3b953f7fb1d"}}, - 1}, - {<<"ranch">>, - {git,"https://github.com/ninenines/ranch", - {ref,"a692f44567034dacf5efcaa24a24183788594eb7"}}, - 2}]. + {<<"cowboy">>,{pkg,<<"cowboy">>,<<"2.12.0">>},1}, + {<<"cowlib">>,{pkg,<<"cowlib">>,<<"2.13.0">>},2}, + {<<"fs">>,{pkg,<<"fs">>,<<"8.6.1">>},1}, + {<<"gproc">>,{pkg,<<"gproc">>,<<"1.0.0">>},1}, + {<<"ranch">>,{pkg,<<"ranch">>,<<"1.8.0">>},2}]}. +[ +{pkg_hash,[ + {<<"cowboy">>, <<"F276D521A1FF88B2B9B4C54D0E753DA6C66DD7BE6C9FCA3D9418B561828A3731">>}, + {<<"cowlib">>, <<"DB8F7505D8332D98EF50A3EF34B34C1AFDDEC7506E4EE4DD4A3A266285D282CA">>}, + {<<"fs">>, <<"7C9C0D0211E8C520E4E9EDA63B960605C2711839F47285E6166C332D973BE8EA">>}, + {<<"gproc">>, <<"AA9EC57F6C9FF065B16D96924168D7C7157CD1FD457680EFE4B1274F456FA500">>}, + {<<"ranch">>, <<"8C7A100A139FD57F17327B6413E4167AC559FBC04CA7448E9BE9057311597A1D">>}]}, +{pkg_hash_ext,[ + {<<"cowboy">>, <<"8A7ABE6D183372CEB21CAA2709BEC928AB2B72E18A3911AA1771639BEF82651E">>}, + {<<"cowlib">>, <<"E1E1284DC3FC030A64B1AD0D8382AE7E99DA46C3246B815318A4B848873800A4">>}, + {<<"fs">>, <<"61EA2BDAEDAE4E2024D0D25C63E44DCCF65622D4402DB4A2DF12868D1546503F">>}, + {<<"gproc">>, <<"109F253C2787DE8A371A51179D4973230CBEC6239EE673FA12216A5CE7E4F902">>}, + {<<"ranch">>, <<"49FBCFD3682FAB1F5D109351B61257676DA1A2FDBE295904176D5E521A2DDFE5">>}]} +]. diff --git a/src/arizona_example_live_counter.erl b/src/arizona_example_live_counter.erl index dfcf28d..eee79fd 100644 --- a/src/arizona_example_live_counter.erl +++ b/src/arizona_example_live_counter.erl @@ -7,8 +7,8 @@ -export([handle_event/3]). %% Component functions. --export([counter/1]). --export([button/1]). +-export([counter/1]). -ignore_xref([counter/1]). +-export([button/1]). -ignore_xref([button/1]). %% Libs -include_lib("arizona/include/arizona.hrl").