Runtool
This commit is contained in:
parent
9bcb514ac9
commit
3275563a18
3 changed files with 13 additions and 0 deletions
2
.bazelrc
2
.bazelrc
|
@ -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
6
tools/BUILD.bazel
Normal file
|
@ -0,0 +1,6 @@
|
|||
package(default_visibility=["//visibility:public"])
|
||||
|
||||
sh_binary(
|
||||
name = "runtool",
|
||||
srcs = ["runtool.sh"],
|
||||
)
|
5
tools/runtool.sh
Executable file
5
tools/runtool.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
cd "${BUILD_WORKING_DIRECTORY}"
|
||||
|
||||
exec "$@"
|
Loading…
Reference in a new issue