build(./dev): export SCHEMA_MOD
SCHEMA_MOD is used at runtime in EMQX Erlang code whenc loading configuration
This commit is contained in:
parent
e824e1db39
commit
75c8577b6b
7
dev
7
dev
|
@ -131,10 +131,10 @@ export PROFILE
|
||||||
|
|
||||||
case "${PROFILE}" in
|
case "${PROFILE}" in
|
||||||
emqx)
|
emqx)
|
||||||
SCHEMA_MOD='emqx_conf_schema'
|
export SCHEMA_MOD='emqx_conf_schema'
|
||||||
;;
|
;;
|
||||||
emqx-enterprise)
|
emqx-enterprise)
|
||||||
SCHEMA_MOD='emqx_ee_conf_schema'
|
export SCHEMA_MOD='emqx_ee_conf_schema'
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -329,11 +329,10 @@ boot() {
|
||||||
copy_other_conf_files
|
copy_other_conf_files
|
||||||
APPS="$(apps_to_load)"
|
APPS="$(apps_to_load)"
|
||||||
|
|
||||||
|
|
||||||
BOOT_SEQUENCE="
|
BOOT_SEQUENCE="
|
||||||
Apps=[${APPS}],
|
Apps=[${APPS}],
|
||||||
ok=lists:foreach(fun application:load/1, Apps),
|
ok=lists:foreach(fun application:load/1, Apps),
|
||||||
io:format(user, \"~nLoaded ~p apps~n\", [length(Apps)]),
|
io:format(user, \"~nLoaded: ~p~n\", [Apps]),
|
||||||
{ok, _} = application:ensure_all_started(emqx_machine).
|
{ok, _} = application:ensure_all_started(emqx_machine).
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue