代码拉取完成,页面将自动刷新
同步操作将从 openGauss/Yukon 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/usr/bin/env bash
# Run astyle on the code base ready for release
# If astyle doesn't exist, exit the script and do nothing
which astyle > /dev/null
RET=$?
if [ $RET -ne 0 ]; then
echo "Could not find astyle - aborting."
exit
fi
RET=`astyle --version 2>&1`
if [ "$RET" != "Artistic Style Version 1.23" ]; then
echo "Only 1.23 astyle version is 'allowed'"
exit
fi
# Find all "pure" C files in the codebase
# - not .in.c used for .sql generation
# - not lex.yy.c or wktparse.tab.c as these are generated files
# - not topology/* files
CFILES_TAB=`find . -name '*.c' -not \( \
-name '*_parse.c' -o \
-name '*_lex.c' -o \
-name './topology/*' -o \
-name './liblwgeom/liblwgeom_topo.*' \
\)`
# Run the standard format on the files, and do not
# leave .orig files around for altered files.
astyle --style=ansi --indent=tab --suffix=none $CFILES_TAB
# Find all "pure" C files in the codebase
# - not .in.c used for .sql generation
# - not lex.yy.c or wktparse.tab.c as these are generated files
# - not topology/* files
CFILES_SPACE="liblwgeom/*.c topology/*.c"
# Run the standard format on the files, and do not
# leave .orig files around for altered files.
astyle --style=ansi --indent=spaces=2 --suffix=none $CFILES_SPACE
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。