Skip to content

Commit

Permalink
Move bazel_clang_tidy dependency from traditional WORKSPACE approach …
Browse files Browse the repository at this point in the history
…to Bzlmod

GitOrigin-RevId: ea1d5b40c0b30113bf1c917139f76d119fd5382a
  • Loading branch information
Vertexwahn committed Jan 19, 2025
1 parent 635ab13 commit eb8507b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 38 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,15 @@ bazel run --config=asan --compilation_mode=opt //flatland/cli:flatland.cli -- $
#### Clang Tidy

```shell
bazel build --config=clang-tidy //flatland/core/...
bazel build --config=clang-tidy //core:object
```

or

```shell
bazel build //core:object \
--aspects @bazel_clang_tidy//clang_tidy:clang_tidy.bzl%clang_tidy_aspect \
--output_groups=report
```

### Building with Windows
Expand Down
2 changes: 0 additions & 2 deletions devertexwahn/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ build:asan --linkopt -fsanitize=address
# clang-tidy
build:clang-tidy --aspects @bazel_clang_tidy//clang_tidy:clang_tidy.bzl%clang_tidy_aspect
build:clang-tidy --output_groups=report
build:clang-tidy --@bazel_clang_tidy//:clang_tidy_config=//:clang_tidy_config2
build:clang-tidy --cxxopt=-std=c++17

# Optimized build
build:optimized build --copt=-O3
Expand Down
13 changes: 0 additions & 13 deletions devertexwahn/WORKSPACE.bzlmod

This file was deleted.

22 changes: 0 additions & 22 deletions devertexwahn/okapi/third_party/okapi_deps.bzl

This file was deleted.

0 comments on commit eb8507b

Please sign in to comment.