From a1447075e8e26b629f660c7d3efd800eacd7f9e8 Mon Sep 17 00:00:00 2001 From: Asger F Date: Thu, 7 May 2026 10:48:22 +0200 Subject: [PATCH] Add AGENTS.md with build/test instructions --- unified/AGENTS.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 unified/AGENTS.md diff --git a/unified/AGENTS.md b/unified/AGENTS.md new file mode 100644 index 00000000000..44cb7437288 --- /dev/null +++ b/unified/AGENTS.md @@ -0,0 +1,15 @@ +# Agent instructions + +This is a CodeQL extractor based on tree-sitter. + +## Building +To build the extractor, run `scripts/create-extractor-pack.sh` + +## Testing +- If you changed the extractor code, always rebuild it before running tests. + +- To run all tests, run `codeql test run --search-path extractor-pack ql/test` + +- Do not edit `.expected` files manually. To update the expected output, pass `--learn` to the `codeql test run` command. + +- To run a specific test, pass the specific directory to the `codeql test run` command instead of `ql/test`.