Skip to content

Commit

Permalink
update cli test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Millione committed Nov 26, 2024
1 parent a4ad9be commit 51bc92e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ rust-version = "1.80.0"
#pilota = "0.11"
#pilota-build = "0.11"
#pilota-thrift-parser = "0.11"
pilota = { git = "https://github.com/cloudwego/pilota", branch = "main" }
pilota-build = { git = "https://github.com/cloudwego/pilota", branch = "main" }
pilota-thrift-parser = { git = "https://github.com/cloudwego/pilota", branch = "main" }
pilota = { git = "https://github.com/cloudwego/pilota.git", branch = "main" }
pilota-build = { git = "https://github.com/cloudwego/pilota.git", branch = "main" }
pilota-thrift-parser = { git = "https://github.com/cloudwego/pilota.git", branch = "main" }

motore = "0.4"
# motore = { git = "https://github.com/cloudwego/motore", branch = "main" }
# motore = { git = "https://github.com/cloudwego/motore.git", branch = "main" }

metainfo = "0.7"

Expand Down
9 changes: 9 additions & 0 deletions scripts/volo-cli-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,22 @@ append_volo_dep_item() {
echo "$1 = { path = \"$VOLO_DIR/$1\" }" >> Cargo.toml
}

append_pilota_dep_item() {
echo "$1 = { git = \"https://github.com/cloudwego/pilota.git\", branch = \"main\" }" >> Cargo.toml
}

patch_cargo_toml() {
echo "[patch.crates-io]" >> Cargo.toml

append_volo_dep_item volo
append_volo_dep_item volo-build
append_volo_dep_item volo-thrift
append_volo_dep_item volo-grpc
append_volo_dep_item volo-http

append_pilota_dep_item pilota
append_pilota_dep_item pilota-build
append_pilota_dep_item pilota-thrift-parser
}

thrift_test() {
Expand Down

0 comments on commit 51bc92e

Please sign in to comment.