Skip to content

Commit d886a3d

Browse files
committed
Remove special case handling
1 parent 706f3e8 commit d886a3d

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

clang-tidy-diff.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
11
#!/bin/bash
2-
3-
# In some Travis CI settings in which the build directory is a subdirectory of
4-
# binaryen/, we don't have the compilation database file in binaryen/. We skip
5-
# the test in this case.
6-
if [ ! -f compile_commands.json ]
7-
then
8-
echo "Compilation database file does not exist. Skipping clang-tidy test."
9-
exit 0
10-
fi
11-
122
CLANG_DIR=$(dirname $(dirname $(which clang-tidy)))
133
CLANG_TIDY_DIFF=$CLANG_DIR/share/clang/clang-tidy-diff.py
144
MERGE_BASE=$(git merge-base master HEAD)

0 commit comments

Comments
 (0)