chore: 工程工具 + CMake 修复
- tools/build.sh: 一键编译(支持 Release/Debug/ASan) - tools/run_tests.sh: 运行测试 - tools/release.sh: 发布打包 - tools/format.sh: 代码格式化 - tools/clean.sh: 清理构建产物 - 修复 CMakeLists.txt: vde_compile_options 顺序错误 - 修复 src/CMakeLists.txt: 移除重复配置行
This commit is contained in:
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "=== Clang Format ==="
|
||||
find src include tests examples -name "*.cpp" -o -name "*.h" | while read f; do
|
||||
clang-format -i "$f" 2>/dev/null && echo " formatted: $f" || true
|
||||
done
|
||||
echo "Done."
|
||||
Reference in New Issue
Block a user