-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.bazelrc
More file actions
35 lines (28 loc) · 1.58 KB
/
.bazelrc
File metadata and controls
35 lines (28 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) 2026 Contributors to the Eclipse Foundation
#
# SPDX-License-Identifier: Apache-2.0
common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
common --registry=https://bcr.bazel.build
common --extra_toolchains=@score_gcc_x86_64_toolchain//:x86_64-linux
build --java_language_version=17
build --tool_java_language_version=17
build --java_runtime_version=remotejdk_17
build --tool_java_runtime_version=remotejdk_17
# Rust clippy linter
build:clippy --aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect
build:clippy --output_groups=+clippy_checks
# Log level configuration for rules_score build output
# normal build: only errors and warnings (default – no flag needed)
# info build: additionally show info messages from all tools
build:info --//bazel/rules/rules_score:verbosity=info
# debug build: complete output including debug/trace from all tools
build:debug --//bazel/rules/rules_score:verbosity=debug
# Standard combined coverage (Rust + Python, no Ferrocene required)
# Usage: bazel coverage --config=coverage <targets>
# Then run: bazel run //coverage:combined_report
coverage:coverage --combined_report=lcov
coverage:coverage --instrumentation_filter=//plantuml,//validation,//manual_analysis,-//plantuml/parser/integration_test,-//validation/core/integration_test
coverage:coverage --@rules_rust//rust/settings:extra_rustc_flag=-Clink-dead-code
coverage:coverage --@rules_rust//rust/settings:extra_rustc_flag=-Ccodegen-units=1
# Import AI checker custom configuration
try-import %workspace%/.bazelrc.ai_checker