加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run.sh 936 Bytes
一键复制 编辑 原始数据 按行查看 历史
totravel 提交于 2022-10-04 21:22 . support text frame
#!/bin/bash
set -e
echo -e "\e[36mBuilding...\e[0m"
build_type=Release
build_dir=build
if [ "$OSTYPE" == "msys" ]; then
cmake -S . -B $build_dir
cmake --build $build_dir --config $build_type -j4
else
cmake -S . -B $build_dir -DCMAKE_BUILD_TYPE=$build_type
cmake --build $build_dir -j4
fi
echo -e "\e[36mRunning...\e[0m"
if [ "$OSTYPE" == "msys" ]; then
$build_dir/$build_type/basic
$build_dir/$build_type/traverse
$build_dir/$build_type/breaks
$build_dir/$build_type/spacing_indent
$build_dir/$build_type/paragraph
$build_dir/$build_type/section
$build_dir/$build_type/run
$build_dir/$build_type/table
$build_dir/$build_type/table_advanced
$build_dir/$build_type/text_frame
else
$build_dir/basic
$build_dir/traverse
$build_dir/breaks
$build_dir/spacing_indent
$build_dir/paragraph
$build_dir/section
$build_dir/run
$build_dir/table
$build_dir/table_advanced
$build_dir/text_frame
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化