build(update.sh): Add trinitry to the crates to update

This commit is contained in:
Benedikt Peetz 2023-11-01 13:19:55 +01:00
parent 43d991871f
commit d6cc3422e4
Signed by: bpeetz
GPG Key ID: A5E94010C3A642AD
1 changed files with 15 additions and 4 deletions

View File

@ -1,13 +1,24 @@
#!/usr/bin/env bash #!/usr/bin/env sh
cargo update && cargo upgrade cargo update && cargo upgrade
cd ./language_macros || (echo "No language_macros directory" && exit 1) cd ./language_macros || (echo "No language_macros directory" && exit 1)
cargo update && cargo upgrade cargo update && cargo upgrade
cd .. cd ..
git add Cargo.lock Cargo.toml flake.lock ./language_macros/Cargo.toml
cd ./trinitry || (echo "No trinitry directory" && exit 1)
cargo update && cargo upgrade
./update.sh >> ./src/tests.rs
cd ..
git add \
Cargo.lock Cargo.toml \
flake.lock \
./language_macros/Cargo.toml \
./trinitry/Cargo.toml \
./trinitry/src/tests.rs
# vim: ft=sh # vim: ft=sh