diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-08-26 17:20:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 17:20:40 +0800 |
commit | 5bb17958c5694a28bd6b97f97adb4064bc79b984 (patch) | |
tree | 6e8667ce530e5f4aae56ea1ea124f3fcd04f08e9 | |
parent | 1635c9e75e21e07c4331cf983e14a11c7e09b119 (diff) | |
download | rneovim-5bb17958c5694a28bd6b97f97adb4064bc79b984.tar.gz rneovim-5bb17958c5694a28bd6b97f97adb4064bc79b984.tar.bz2 rneovim-5bb17958c5694a28bd6b97f97adb4064bc79b984.zip |
build: fix "make iwyu" not working (#24873)
-rw-r--r-- | CONTRIBUTING.md | 2 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d2c196880b..2fe3c39bde 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -246,7 +246,7 @@ For managing includes in C files, use [include-what-you-use]. - To see which includes needs fixing use the cmake preset `iwyu`: ```bash cmake --preset iwyu - cmake --build build iwyu + cmake --build build ``` - There's also a make target that automatically fixes the suggestions from IWYU: @@ -138,7 +138,7 @@ test: $(TEST) iwyu: build/.ran-cmake cmake --preset iwyu - cmake --build --preset iwyu > build/iwyu.log + cmake --build build > build/iwyu.log iwyu-fix-includes --only_re="src/nvim" --ignore_re="src/nvim/(auto|map.h|eval/encode.c)" --safe_headers < build/iwyu.log cmake -B build -U ENABLE_IWYU |