mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 11:26:18 -04:00
8bba3d7fd7
* swap to replxx from linenoise * repl: Implement form auto-tab-completion * repl: color coordinate the prompts * repl: Add some basic syntax highlighting, bracket pairs and forms (all one color) * repl: A more consistent starting screen for the repl * repl: bug fix for auto-complete * debug linux * linting
23 lines
651 B
Bash
Vendored
Generated
23 lines
651 B
Bash
Vendored
Generated
#! /bin/sh
|
|
|
|
rm -rf build
|
|
mkdir -p build/debug
|
|
cd build/debug
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=coverage ../../
|
|
make
|
|
|
|
cd ..
|
|
|
|
lcov --base-directory .. --directory debug/CMakeFiles --capture --initial --output-file replxx-baseline.info
|
|
|
|
cd ..
|
|
./tests.py
|
|
cd -
|
|
|
|
lcov --base-directory .. --directory debug/CMakeFiles --capture --output-file replxx-test.info
|
|
lcov --add-tracefile replxx-baseline.info --add-tracefile replxx-test.info --output-file replxx-total.info
|
|
lcov --extract replxx-total.info '*/replxx/src/*' '*/replxx/include/*' --output-file replxx-coverage.info
|
|
genhtml replxx-coverage.info --legend --num-spaces=2 --output-directory replxx-coverage-html
|
|
|