summaryrefslogtreecommitdiff
path: root/clang-tidy-diff.sh
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2019-04-27 18:21:56 -0700
committerHeejin Ahn <aheejin@gmail.com>2019-04-27 18:21:56 -0700
commit7621a10aab6a5c440c1a3c71d96209906445e6e3 (patch)
tree84b2c240a75564e01bc4fc974e6509588eff0f41 /clang-tidy-diff.sh
parentc6fa2a3c6873d2e05c942f5ed534c170dfef1b4b (diff)
downloadbinaryen-7621a10aab6a5c440c1a3c71d96209906445e6e3.tar.gz
binaryen-7621a10aab6a5c440c1a3c71d96209906445e6e3.tar.bz2
binaryen-7621a10aab6a5c440c1a3c71d96209906445e6e3.zip
Add a clang-tidy error again to show how Travis CI works
Diffstat (limited to 'clang-tidy-diff.sh')
-rwxr-xr-xclang-tidy-diff.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang-tidy-diff.sh b/clang-tidy-diff.sh
index 2e5cfc441..0bf952166 100755
--- a/clang-tidy-diff.sh
+++ b/clang-tidy-diff.sh
@@ -1,7 +1,8 @@
#!/bin/bash
-# In settings in which build directory is different than binaryen/, we don't
-# have this file in binaryen/, so we skip the test.
+# In some Travis CI settings in which the build directory is a subdirectory of
+# binaryen/, we don't have the compilation database file in binaryen/. We skip
+# the test in this case.
if [ ! -f compile_commands.json ]
then
exit 0