[gjs/ewlsh/iwyu-arch] tools: Add iwyu-tool as a binary name for iwyu




commit bc881ceef4f58029997725ecb752c47a107f186b
Author: Evan Welsh <contact evanwelsh com>
Date:   Fri Jan 14 11:02:09 2022 -0800

    tools: Add iwyu-tool as a binary name for iwyu

 tools/run_iwyu.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tools/run_iwyu.sh b/tools/run_iwyu.sh
index e734cbc5..d89294c0 100755
--- a/tools/run_iwyu.sh
+++ b/tools/run_iwyu.sh
@@ -43,7 +43,7 @@ fi
 
 echo "files: $files"
 
-IWYU="python3 $(which iwyu_tool || which iwyu_tool.py) -p ."
+IWYU="python3 $(which iwyu_tool || which iwyu-tool || which iwyu_tool.py) -p ."
 IWYU_ARGS="-Wno-pragma-once-outside-header"
 IWYU_RAW="include-what-you-use -xc++ -std=c++17 -Xiwyu --keep=config.h $IWYU_ARGS"
 IWYU_RAW_INC="-I. -I.. $(pkg-config --cflags gobject-introspection-1.0 mozjs-78)"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]