加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
post-compile.sh 693 Bytes
一键复制 编辑 原始数据 按行查看 历史
turtleDeng 提交于 2020-04-29 15:54 . Rm plugin schema (#497)
#!/bin/sh -eu
case ${REBAR_BUILD_DIR} in *+test) exit 0;; esac
if [ ! -d ${REBAR_BUILD_DIR} ]; then
# profile dir is not created yet
exit 0
fi
cd ${REBAR_BUILD_DIR}
## Collect config files, some are direct usable
## some are relx-overlay templated
rm -rf conf
mkdir -p conf/plugins
for conf in lib/*/etc/*.conf* ; do
if [ "emqx.conf" = "${conf##*/}" ]; then
cp ${conf} conf/
elif [ "acl.conf" = "${conf##*/}" ]; then
cp ${conf} conf/
elif [ "ssl_dist.conf" = "${conf##*/}" ]; then
cp ${conf} conf/
else
cp ${conf} conf/plugins/
fi
done
## Collect all schema files
mkdir -p conf/schema
cp lib/emqx/priv/emqx.schema conf/schema/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化