зеркало из https://github.com/github/codeql.git
Rust: add rust-specific deps updater script
This commit is contained in:
Родитель
e077bf0732
Коммит
0943389ca1
|
@ -3,7 +3,7 @@ name = "ast-generator"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# When updating these dependencies, run `misc/bazel/3rdparty/update_cargo_deps.sh`
|
||||
# When updating these dependencies, run `rust/update_cargo_deps.sh`
|
||||
[dependencies]
|
||||
ungrammar = "1.16.1"
|
||||
proc-macro2 = "1.0.33"
|
||||
|
|
|
@ -3,7 +3,7 @@ name = "codeql-rust"
|
|||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# When updating these dependencies, run `misc/bazel/3rdparty/update_cargo_deps.sh`
|
||||
# When updating these dependencies, run `rust/update_cargo_deps.sh`
|
||||
[dependencies]
|
||||
anyhow = "1.0.86"
|
||||
clap = { version = "4.5.16", features = ["derive"] }
|
||||
|
|
|
@ -6,7 +6,7 @@ edition = "2021"
|
|||
[lib]
|
||||
proc-macro = true
|
||||
|
||||
# When updating these dependencies, run `misc/bazel/3rdparty/update_cargo_deps.sh`
|
||||
# When updating these dependencies, run `rust/update_cargo_deps.sh`
|
||||
[dependencies]
|
||||
quote = "1.0.37"
|
||||
syn = { version = "2.0.77", features = ["full"] }
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
cd "$SCRIPT_DIR/.."
|
||||
time bazel run //misc/bazel/3rdparty:vendor_tree_sitter_extractors
|
||||
bazel mod tidy
|
Загрузка…
Ссылка в новой задаче