-
Before submitting pull requests, make sure that you run clang-format so that your code follows our standards, otherwise, travis will complain.
-
If you already made your commit, you can run
git clang-format HEAD~1to format it, or you can useclang-format <path-to-file> -ifrom the beginning.
To build the project, simply create a build directory, go inside it, run cmake, then start the building process by running make:
mkdir build
cd build
cmake ..
makeTo build unit tests, pass -DENABLE_TESTING=ON flag to cmake:
cmake -DENABLE_TESTING=ON ..And after building the project, execute the following command to start running the tests:
make testYou can also run the resulting binary, which might give more flexibility. Refer to Catch2 CL for the CL options of the Catch2 test binary.
Make sure you are in build folder, and you built the project with cmake, then run the following command:
./bin/goslayer-executablemv xyFor example
mv F12boardlib xycluster xystate