Embed the script buildAndTest.sh inside the docs

This commit is contained in:
Clare Macrae 2020-10-23 19:47:05 +01:00 committed by Martin Hořeňovský
parent 4035beb988
commit c6352c3e1f
2 changed files with 25 additions and 16 deletions

View file

@ -3,6 +3,7 @@
# Start at the root of the Catch project directory, for example:
# cd Catch2
# begin-snippet: catch2-build-and-test
# 1. Regenerate the amalgamated distribution
./tools/scripts/generateAmalgamatedFiles.py
@ -15,3 +16,4 @@ cmake --build debug-build
# 4. Run the tests using CTest
cd debug-build
ctest -j 4 --output-on-failure -C Debug
# end-snippet