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 .
|
|
|
|
update ./language_macros
|
|
|
|
update ./keymaps
|
2023-10-16 11:56:18 +00:00
|
|
|
|
2023-10-18 19:14:23 +00:00
|
|
|
|
|
|
|
|
|
|
|
git add Cargo.lock Cargo.toml flake.lock ./language_macros/Cargo.toml
|
2023-10-16 11:56:18 +00:00
|
|
|
|
|
|
|
# vim: ft=sh
|