Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.01 KB

AGENTS.md

File metadata and controls

30 lines (19 loc) · 1.01 KB

Agent Instructions

Rules

  • NEVER add an #include header to any file. To control header include order, edit rice/rice.hpp.
  • NEVER run ruby lib/rice/make_rice_headers.rb. The include/ folder is autogenerated by a GitHub hook.
  • Before committing any changes, show the exact updates to the user and wait for approval.

Building

Configure and build from the project root directory:

cmake --preset linux-debug
cmake --build --preset linux-debug

Running Tests

Run all tests via the built unittest executable:

./build/linux-debug/test/unittest

Do not rely on unittest command-line arguments to run only specific tests. In practice, the binary does not provide a reliable test-name filter for the quick edit/build/verify loop we use here.

Quick Compile Testing

To quickly test a specific area, temporarily edit test/CMakeLists.txt to include only the relevant test files plus unittest.cpp and embed_ruby.cpp. Revert that change when done and never commit the trimmed test list.