diff --git a/.gitignore b/.gitignore index eb0b272..8b5dddb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ build/ .direnv/ +.cache/ diff --git a/AGENTS.md b/AGENTS.md index d599d89..75ea9ef 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -7,6 +7,7 @@ - Build: `cmake --build build` - Release build: `cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release` - Run: `./build/ghostling` +- Clean: `cmake --build build --target clean` ## Code Conventions diff --git a/README.md b/README.md index 6521cfd..94514ac 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,12 @@ After the initial configuration, you only need to run the build step: cmake --build build ``` +To clean up the build directory: + +```sh +cmake --build build --target clean +``` + ## FAQ ### Why Not Zig?