jak-project/third-party/replxx/gen-coverage.sh
Tyler Wilding 8bba3d7fd7
REPL: Add clear-screen / auto-complete / basic hints and syntax highlighting (#316)
* 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
2021-03-07 23:41:21 -05:00

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