Skip to content

Commit 76ca181

Browse files
author
MarkusB
committed
up
1 parent 5916eac commit 76ca181

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/cppcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ name: cppcheck
33
on:
44
pull_request:
55
paths: ["**/*.cpp", "**/*.hpp", "**/*.h", "cmake/**", "devenv/cmake/**",
6-
"CppCheckSuppressions.txt", "devenv/run-cppcheck.sh"]
6+
"CppCheckSuppressions.txt", "devenv/scripts/run-cppcheck.sh"]
77
push:
88
branches: [main]
99
paths: ["**/*.cpp", "**/*.hpp", "**/*.h", "cmake/**", "devenv/cmake/**",
10-
"CppCheckSuppressions.txt", "devenv/run-cppcheck.sh"]
10+
"CppCheckSuppressions.txt", "devenv/scripts/run-cppcheck.sh"]
1111
schedule:
1212
- cron: "31 4 * * 0"
1313
workflow_dispatch:

AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ Manual (if `pre-commit` is on PATH): `pre-commit run -a`.
7070
**clang-format:** `.clang-format` (LLVM-based). **clang-tidy:** `.clang-tidy` at repo root; optional review via devenv:
7171

7272
```bash
73-
python3 devenv/clang-tidy-review.py changed
74-
python3 devenv/clang-tidy-review.py full --preset clang-debug
73+
python3 devenv/scripts/clang-tidy-review.py changed
74+
python3 devenv/scripts/clang-tidy-review.py full --preset clang-debug
7575
```
7676

7777
Requires a configured preset with `compile_commands.json`. Use `--install` on supported platforms if clang-tidy is missing.
7878

79-
README mentions `./devenv/bootstrap.sh` for pre-commit setup; **that script is not present** in the current `devenv` submodule — use CMake configure + `mb-pre-commit-sweep` instead.
79+
README uses CMake configure + `mb-pre-commit-sweep` for pre-commit setup.
8080

8181
## Architecture and important directories
8282

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ git submodule update --init --recursive
2323
To sync submodules (and optionally Git LFS) later, from the repo root:
2424

2525
```bash
26-
devenv/git-sub.sh
26+
devenv/scripts/git-sub.sh
2727
```
2828

2929
**Build** (CMake 3.30+, C++26 by default — **MSVC presets use C++23**, Ninja). From repo root:
@@ -39,13 +39,14 @@ Run tests:
3939
ctest --preset gcc-debug
4040
```
4141

42-
**Pre-commit** (optional, for local lint/format): create a venv and install hooks:
42+
**Pre-commit** (optional, for local lint/format): configure once, then run the sweep target:
4343

4444
```bash
45-
./devenv/bootstrap.sh
45+
cmake --preset gcc-debug
46+
cmake --build --preset gcc-debug --target mb-pre-commit-sweep
4647
```
4748

48-
Then `pre-commit` runs on commit; you can also run `pre-commit run -a` manually.
49+
Then `pre-commit` runs on commit; you can also run `pre-commit run -a` manually if `pre-commit` is on `PATH`.
4950

5051
## Usage when starting a new library
5152

0 commit comments

Comments
 (0)