This repository has been archived on 2024-05-26. You can view files and clone it, but cannot push or open issues or pull requests.
2023-11-07 19:46:18 +00:00
|
|
|
#!/usr/bin/env sh
|
2023-10-16 11:56:18 +00:00
|
|
|
|
2023-11-07 19:46:18 +00:00
|
|
|
update() {
|
|
|
|
cd "$1" || (echo "No '$1' directory" && exit 1)
|
2023-10-16 11:56:18 +00:00
|
|
|
|
2023-11-07 19:46:18 +00:00
|
|
|
cargo update && cargo upgrade
|
|
|
|
|
|
|
|
[ "$1" = "." ] || cd ..
|
|
|
|
}
|
|
|
|
|
|
|
|
update .
|
2023-10-16 11:56:18 +00:00
|
|
|
|
2023-11-01 12:24:30 +00:00
|
|
|
cd ./trinitry || (echo "No trinitry directory" && exit 1)
|
|
|
|
cargo update && cargo upgrade
|
|
|
|
./update.sh > ./src/tests.rs
|
|
|
|
cd ..
|
|
|
|
|
2023-12-23 20:58:19 +00:00
|
|
|
git add Cargo.lock Cargo.toml flake.lock
|
2023-10-16 11:56:18 +00:00
|
|
|
|
|
|
|
# vim: ft=sh
|