[README] Add cake build example for running tests

This commit is contained in:
Lewis Baker 2019-03-16 22:02:12 -07:00 committed by GitHub
parent cd98b2778e
commit d18e54ad3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3010,6 +3010,7 @@ You can specify additional command-line arguments to customise the build:
either debug or optimised (by default it will build both).
* `lib/build.cake` will just build the cppcoro library and not the tests.
* `test/build.cake@task_tests.cpp` will just compile a particular source file
* `test/build.cake@testresult` will build and run the tests
For example:
```