Skip to content

Commit 97f4700

Browse files
author
Paolo Tranquilli
committed
Bazel: force remote downloads on cargo updating
1 parent d9ecb62 commit 97f4700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

misc/bazel/3rdparty/update_py_deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55
WORKSPACE_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/../../.." &> /dev/null && pwd )
66

77
cd "$WORKSPACE_DIR"
8-
time bazel run //misc/bazel/3rdparty:vendor_py_deps
8+
time bazel run //misc/bazel/3rdparty:vendor_py_deps --remote_download_all
99
# no idea why this is necessary, see https://github.com/bazelbuild/rules_rust/issues/3255
1010
python3 "$WORKSPACE_DIR/misc/bazel/3rdparty/patch_defs.py" misc/bazel/3rdparty/py_deps/defs.bzl
1111
bazel mod tidy

misc/bazel/3rdparty/update_tree_sitter_extractors_deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55
WORKSPACE_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/../../.." &> /dev/null && pwd )
66

77
cd "$WORKSPACE_DIR"
8-
time bazel run //misc/bazel/3rdparty:vendor_tree_sitter_extractors
8+
time bazel run //misc/bazel/3rdparty:vendor_tree_sitter_extractors --remote_download_all
99

1010
# we need access to this file in the rust extractor
1111
echo 'exports_files(["rust.ungram"])' >> misc/bazel/3rdparty/tree_sitter_extractors_deps/BUILD.ra_ap_syntax-?.*.bazel

0 commit comments

Comments
 (0)