Skip to content

Commit

Permalink
Activate venv before calling clang-tidy.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkrodrigues committed Oct 5, 2024
1 parent d884cc9 commit 6a471a2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lint-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ tasks:
--config-file=.clang-tidy
deps: [":config-cmake-project", "cpp-configs", "venv"]
cmd: |-
. "{{.G_LINT_VENV_DIR}}/bin/activate"
# Pass emscripten's cflags to clang-tidy by prefixing each one with `--extra-arg`
EXTRA_ARGS=$("{{.G_EMSDK_DIR}}/upstream/emscripten/em++" --cflags \
| tr ' ' '\n' \
Expand Down

0 comments on commit 6a471a2

Please sign in to comment.