File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ Add file to table in AGENTS.md for routing:
2525| ------| -------------|
2626| ` building.md ` | Configuring or building ITK with Pixi or CMake |
2727| ` testing.md ` | Writing, running, or converting tests |
28- | ` new_task.md ` | Conditions for including context from ` new_task.md ` |
29- | ... | .... |
3028
3129## Adding a New Context File
3230
Original file line number Diff line number Diff line change 22
33## Recommended: Pixi
44
5- Pixi is the preferred build tool for development. It manages the toolchain and
6- runs CMake + Ninja internally.
7-
85``` bash
6+ # Pixi is the preferred build tool for development.
7+ # It manages the toolchain and runs CMake + Ninja internally.
8+ #
9+ # IMPORTANT:
10+ # Run each install command once after cloning the repository (or after lockfile changes).
11+ # Required one time before any `pixi run --as-is` commands.
12+ pixi install # Install the default locked toolchain environment
13+ pixi install -e cxx # Install the cxx environment
14+ pixi install -e python # Install the python environment
15+
916pixi run --as-is build # Build C++ tests
1017pixi run --as-is build-python # Build Python tests
1118pixi run --as-is test # Run C++ tests
@@ -15,7 +22,7 @@ pixi shell -e cxx # Interactive C++ dev shell
1522pixi shell -e python # Interactive Python dev shell
1623```
1724
18- See ` pixi .toml` for the full list of tasks and environment definitions.
25+ See ` pyproject .toml` for the full list of tasks and environment definitions.
1926
2027## Direct CMake
2128
You can’t perform that action at this time.
0 commit comments