Embed the script buildAndTest.sh inside the docs
This commit is contained in:
parent
4035beb988
commit
c6352c3e1f
2 changed files with 25 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue