Files
ViewDesignEngine d7139c3fd6
CI / Build & Test (push) Failing after 38s
CI / Release Build (push) Failing after 25s
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: 移除重复配置行
2026-07-23 07:51:23 +00:00

9 lines
228 B
Bash
Executable File

#!/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."