-
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~1
to format it, or you can useclang-format <path-to-file> -i
from 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 ..
make
To 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 test
You 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-executable
mv xy
For example
mv F12
board
lib xy
cluster xy
state