chore: add maybe feature enable on rabbitmq_bridge
This commit is contained in:
parent
d65e84e46b
commit
3e599e5d8e
|
@ -1,6 +1,6 @@
|
||||||
%% -*- mode: erlang; -*-
|
%% -*- mode: erlang; -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info, {feature, maybe_expr, enable}]}.
|
||||||
{deps, [
|
{deps, [
|
||||||
%% The following two are dependencies of rabbit_common
|
%% The following two are dependencies of rabbit_common
|
||||||
{thoas, {git, "https://github.com/emqx/thoas.git", {tag, "v1.0.0"}}},
|
{thoas, {git, "https://github.com/emqx/thoas.git", {tag, "v1.0.0"}}},
|
||||||
|
|
4
bin/emqx
4
bin/emqx
|
@ -1188,10 +1188,10 @@ case "${COMMAND}" in
|
||||||
esac
|
esac
|
||||||
case "$COMMAND" in
|
case "$COMMAND" in
|
||||||
foreground)
|
foreground)
|
||||||
FOREGROUNDOPTIONS="-noshell -noinput +Bd"
|
FOREGROUNDOPTIONS="-enable-feature maybe_expr -noshell -noinput +Bd"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
FOREGROUNDOPTIONS=''
|
FOREGROUNDOPTIONS='-enable-feature maybe_expr'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
2
build
2
build
|
@ -136,7 +136,7 @@ make_docs() {
|
||||||
local docdir="_build/docgen/$PROFILE"
|
local docdir="_build/docgen/$PROFILE"
|
||||||
mkdir -p "$docdir"
|
mkdir -p "$docdir"
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
erl -noshell -eval \
|
erl -enable-feature maybe_expr -noshell -eval \
|
||||||
"ok = emqx_conf:dump_schema('$docdir', $SCHEMA_MODULE), \
|
"ok = emqx_conf:dump_schema('$docdir', $SCHEMA_MODULE), \
|
||||||
halt(0)."
|
halt(0)."
|
||||||
local desc="$docdir/desc.en.hocon"
|
local desc="$docdir/desc.en.hocon"
|
||||||
|
|
Loading…
Reference in New Issue