You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just: use bazel test with -as-test targets for dist building
This avoids reinstalling dists when nothing changed, by leveraging
bazel test's caching behavior with the existing -as-test target
variants.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
# Build the language-specific distribution if we are in an internal repository checkout
9
9
# Otherwise, do nothing
10
10
[no-exit-message]
11
-
_maybe_build_distLANGUAGE: (_if_in_semmle_code ('cd "$SEMMLE_CODE"; tools/bazel run //language-packs:intree-'+ LANGUAGE) '# using codeql from PATH, if any')
11
+
_maybe_build_distLANGUAGE: (_if_in_semmle_code ('cd "$SEMMLE_CODE"; tools/bazel test //language-packs:intree-'+ LANGUAGE+'-as-test --test_output=all') '# using codeql from PATH, if any')
12
12
13
13
# Call bazel. Uses our official bazel wrapper if we are in an internal repository checkout
0 commit comments