4 # This scripts uses `cargo-vendor` to download all the dependencies needed
5 # to build `wrench` (a tool used for standalone testing of webrender), and
6 # exports those dependencies as a tarball. This avoids having to download
7 # these dependencies on every test job that uses `wrench`.
9 UPLOAD_DIR
=$HOME/artifacts
12 export PATH
=$PATH:$MOZ_FETCHES_DIR/rustc
/bin
:$HOME/.cargo
/bin
15 cargo vendor
--locked --sync .
/Cargo.toml
> .cargo
/config.toml
17 mv vendor .cargo wrench-deps
/
19 ci-scripts
/install-meson.sh
20 mv meson wrench-deps
/meson
23 tar caf
$UPLOAD_DIR/wrench-deps.
tar.zst wrench-deps