Skip to content

Commit

Permalink
Merge pull request #11 from hzeller/feature-20240614-fix-bazel
Browse files Browse the repository at this point in the history
Looks like newer bazel's have issues with the compile command generat…
  • Loading branch information
hzeller authored Jun 15, 2024
2 parents 21e2839 + 4289e97 commit a0fd8de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ jobs:

- name: Build Compilation DB
run: |
echo "6.5.0" > .bazelversion # fix as there are some hedron python issues w/ 7.x
bazel build //bant:version-header
scripts/make-compilation-db.sh
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-clang-tidy-cached.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static constexpr std::string_view kProjectCachePrefix = "bant_";
static constexpr std::string_view kWorkspaceFile = "MODULE.bazel";

// Choices of what files to include and exclude to run clang-tidy on.
static constexpr std::string_view kStartDirectory = ".";
static constexpr std::string_view kStartDirectory = "bant";
static constexpr std::string_view kFileIncludeRe = ".*";
static constexpr std::string_view kFileExcludeRe = ".git/|.github/";
inline bool ConsiderExtension(const std::string &extension) {
Expand Down

0 comments on commit a0fd8de

Please sign in to comment.