blob: 39af157826d3233daf1e87ee2e49f15b1d628419 [file]
{
"configs": [
{
"name": "bazel_default",
"description": "Default bazel build configuration (usually host)",
"build_type": "bazel",
"args": [],
"env": {}
}
],
"builds": [
{
"name": "host",
"build_config": {
"name": "host_config",
"description": "Host build",
"build_type": "bazel",
"args": [
"--config=presubmit"
],
"driver_options": {
"@type": "pw.build.proto.BazelDriverOptions",
"no_test": true
}
},
"targets": [
"//..."
]
},
{
"name": "clang_tidy",
"build_config": {
"name": "clang_tidy_config",
"description": "Clang-Tidy config",
"build_type": "bazel",
"args": [
"--config=clang-tidy"
],
"env": {},
"driver_options": {
"@type": "pw.build.proto.BazelDriverOptions",
"no_test": true
}
},
"targets": [
"//..."
]
}
],
"tools": [
{
"name": "format",
"description": "Find and fix code formatting issues",
"use_config": "bazel_default",
"analyzer_friendly_args": [
"--check"
],
"target": "@pigweed//pw_presubmit/py:format"
}
],
"groups": [
{
"name": "default",
"description": "Quick presubmit for validating code changes locally",
"analyzers": [
"format"
],
"builds": [
"host",
"clang_tidy"
]
}
]
}