This commit is contained in:
Reid D McKenzie 2025-02-05 18:57:11 -07:00
parent 9bcb514ac9
commit 3275563a18
3 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,8 @@ test --keep_going
test --test_output=errors
test --test_tag_filters=-known-to-fail
run --run_under="//tools:runtool"
# To enable flake8 on all build steps, uncomment this -
# test --aspects="//tools/flake8:flake8.bzl%flake8_aspect" --output_groups=flake8_checks
# test --aspects="//tools/black:black.bzl%black_aspect" --output_groups=black_checks

6
tools/BUILD.bazel Normal file
View file

@ -0,0 +1,6 @@
package(default_visibility=["//visibility:public"])
sh_binary(
name = "runtool",
srcs = ["runtool.sh"],
)

5
tools/runtool.sh Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
cd "${BUILD_WORKING_DIRECTORY}"
exec "$@"