Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Nov 18, 2024
1 parent 3dc6488 commit de7e5cf
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions rebuuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
rm -rf build
mkdir build
cmake -B ./build
cmake --build ./build

# cd build
# ctest
# ./utest


# cd ..
# ./coverage.sh
# COVERAGE_FILE=coverage.info
# REPORT_FOLDER=coverage_report
# lcov --c lcov_branch_coverage=1 -c -d build -o ${COVERAGE_FILE}_tmp
# lcov --c lcov_branch_coverage=1 -e ${COVERAGE_FILE}_tmp "*src*" -o ${COVERAGE_FILE}
# genhtml --rc genhtml_branch_coverage=1 ${COVERAGE_FILE} -o ${REPORT_FOLDER}
# # rm -rf ${COVERAGE_FILE}_tmp
# # rm -rf ${COVERAGE_FILE}

# if [[ "$OSTYPE" == "darwin"* ]]; then
# open ./${REPORT_FOLDER}/index.html
# fi

0 comments on commit de7e5cf

Please sign in to comment.