Make packagesdriver use local bazel

This commit is contained in:
SAF 2024-11-28 09:09:47 +00:00
parent f367ddbf1c
commit 853a4f96a7
2 changed files with 36 additions and 36 deletions

View File

@ -33,4 +33,3 @@
"bazel.executable": "./tools/bazel_launcher.sh",
"files.autoSave": "off",
}

View File

@ -2,4 +2,5 @@
# github.com/bazelbuild/rules_go/issues/3110
# export GOPACKAGESDRIVER_BAZEL_BUILD_FLAGS=--strategy=GoStdlibList=local
# github.com/bazelbuild/rules_go/wiki/Editor-setup
/home/coder/.local/bin/bazel run -- @rules_go//go/tools/gopackagesdriver "${@}"
REPO_ROOT=$(git rev-parse --show-toplevel)
${REPO_ROOT}/tools/bazel_launcher.sh run -- @rules_go//go/tools/gopackagesdriver "${@}"