-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathBUILD.bazel
More file actions
24 lines (22 loc) · 860 Bytes
/
BUILD.bazel
File metadata and controls
24 lines (22 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
load("@rules_rust//crate_universe:defs.bzl", "crates_vendor")
# The targets in this file re-do the vendoring of the rust cargo dependencies. Use the update_cargo_deps.sh script to run the targets, and do all the necessary work around vendoring.
crates_vendor(
name = "vendor_tree_sitter_extractors",
cargo_lockfile = "//:Cargo.lock",
generate_build_scripts = True,
manifests = ["//:Cargo.toml"],
mode = "remote",
repository_name = "vendor_ts",
tags = ["manual"],
vendor_path = "tree_sitter_extractors_deps",
)
crates_vendor(
name = "vendor_py_deps",
cargo_lockfile = "//python/extractor/tsg-python:Cargo.lock",
generate_build_scripts = True,
manifests = ["//python/extractor/tsg-python:Cargo.toml"],
mode = "remote",
repository_name = "vendor_py",
tags = ["manual"],
vendor_path = "py_deps",
)