From 1eaac9ea12d18383f8eaf720c1b650105fde1e67 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Tue, 4 Jan 2022 00:14:40 +0100 Subject: [PATCH] feat: add redbug --- mix.exs | 2 ++ mix.lock | 1 + rebar.config | 1 + rebar.config.erl | 1 + 4 files changed, 5 insertions(+) diff --git a/mix.exs b/mix.exs index 44f565177..b4b9ef701 100644 --- a/mix.exs +++ b/mix.exs @@ -45,6 +45,7 @@ defmodule EMQXUmbrella.MixProject do # other exact versions, and not ranges. [ {:lc, github: "qzhuyan/lc", tag: "0.1.2"}, + {:redbug, "2.0.7"}, {:typerefl, github: "k32/typerefl", tag: "0.8.6", override: true}, {:ehttpc, github: "emqx/ehttpc", tag: "0.1.12"}, {:gproc, github: "uwiger/gproc", tag: "0.8.0", override: true}, @@ -163,6 +164,7 @@ defmodule EMQXUmbrella.MixProject do inets: :permanent, compiler: :permanent, runtime_tools: :permanent, + redbug: :permanent, hocon: :load, emqx: :load, emqx_conf: :load, diff --git a/mix.lock b/mix.lock index 4a8338530..c8a70a321 100644 --- a/mix.lock +++ b/mix.lock @@ -41,6 +41,7 @@ "quicer": {:git, "https://github.com/emqx/quic.git", "ef73617d0f10f0f30f3aa77eb4a2f6ae071a2e29", [tag: "0.0.9"]}, "ranch": {:git, "https://github.com/ninenines/ranch.git", "a692f44567034dacf5efcaa24a24183788594eb7", [ref: "a692f44567034dacf5efcaa24a24183788594eb7"]}, "recon": {:git, "https://github.com/ferd/recon.git", "f7b6c08e6e9e2219db58bfb012c58c178822e01e", [tag: "2.5.1"]}, + "redbug": {:hex, :redbug, "2.0.7", "40f477681e4957a1ebce19b23a9b53cd8113da6133014c506e3e194a6e4ffc89", [:rebar3], [], "hexpm", "3624feb7a4b78fd9ae0e66cc3158fe7422770ad6987a1ebf8df4d3303b1c4b0c"}, "replayq": {:hex, :replayq, "0.3.3", "29344e4fd7c41c232d7f20d7a6e6712169ca585583bbb4bb6dd518f04e0d6cc4", [:rebar3], [], "hexpm", "3a527aff0960cf7ba7d189c79d7f0fbc170adb62e351acc223ccd6d094095c27"}, "rocksdb": {:git, "https://github.com/k32/erlang-rocksdb.git", "e74972c3da4fe1f08eb66d39fce643a2d25a60be", [tag: "1.7.2-k32"]}, "rulesql": {:git, "https://github.com/emqx/rulesql.git", "fec11b1a3cbf98480d19c06d3aca10442e1e02a9", [tag: "0.1.4"]}, diff --git a/rebar.config b/rebar.config index 59be4e6c0..17d4a0ce3 100644 --- a/rebar.config +++ b/rebar.config @@ -45,6 +45,7 @@ {deps, [ {lc, {git, "https://github.com/qzhuyan/lc.git", {tag, "0.1.2"}}} + , {redbug, "2.0.7"} , {gpb, "4.11.2"} %% gpb only used to build, but not for release, pin it here to avoid fetching a wrong version due to rebar plugins scattered in all the deps , {typerefl, {git, "https://github.com/k32/typerefl", {tag, "0.8.6"}}} , {ehttpc, {git, "https://github.com/emqx/ehttpc", {tag, "0.1.12"}}} diff --git a/rebar.config.erl b/rebar.config.erl index 982f5c3b9..dc92d85ee 100644 --- a/rebar.config.erl +++ b/rebar.config.erl @@ -250,6 +250,7 @@ relx_apps(ReleaseType, Edition) -> , inets , compiler , runtime_tools + , redbug , {hocon, load} , {emqx, load} % started by emqx_machine , {emqx_conf, load}