修改目录结构, 添加文档

This commit is contained in:
崔一鸣
2019-05-21 16:54:19 +08:00
parent a3d83e74f3
commit 4636f27eec
20 changed files with 101 additions and 583 deletions

View File

@@ -0,0 +1,11 @@
SAPP_RUN=$1
if [ "${SAPP_RUN}" = "" ]; then
echo "USAGE: sh build_rpm.sh sapp_path" && exit 0
fi
mkdir -p $SAPP_RUN/plug/business/http_adapter
/bin/cp -f adapter/libhttp_adapter.so $SAPP_RUN/plug/business/http_adapter/libhttp_adapter.so
/bin/cp -f ../adapter/http_adapter/conf/http_adapter.inf $SAPP_RUN/plug/business/http_adapter/http_adapter.inf
/bin/cp -rf ../adapter/http_adapter/lua $SAPP_RUN/plug
mkdir -p $SAPP_RUN/log/lua_sapp/http_adapter/lua/
cat $SAPP_RUN/plug/business/conflist_business.inf | grep "http_adapter.inf" >/dev/null 2>&1 && exit
echo ./plug/business/http_adapter/http_adapter.inf >> $SAPP_RUN/plug/business/conflist_business.inf