diff --git a/README.md b/README.md index ad82c69..eb6a30f 100644 --- a/README.md +++ b/README.md @@ -12,24 +12,16 @@ which provides the `` header. ## Building Unit Tests ```bash -cd -mkdir build && cd build -cmake .. -DSIGFN_TESTS=ON -make +cmake -S . -B build -DSIGFN_TESTS=ON +cmake --build build ``` ## Running Unit Tests ```bash -cd /build/tests -./unit -# e.g. -./unit sigfn_handle +cd build +ctest -C Debug ``` -## Usage - -SigFn usage is similar to the `os/signal` package from Golang. - ### C Basic SigFn usage in C. It is copied from `pause.c` in the