forked from trinitrix/core
20 lines
287 B
Bash
Executable File
20 lines
287 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
update() {
|
|
cd "$1" || (echo "No '$1' directory" && exit 1)
|
|
|
|
cargo update && cargo upgrade
|
|
|
|
[ "$1" = "." ] || cd ..
|
|
}
|
|
|
|
update .
|
|
update ./language_macros
|
|
update ./keymaps
|
|
|
|
|
|
|
|
git add Cargo.lock Cargo.toml flake.lock ./language_macros/Cargo.toml
|
|
|
|
# vim: ft=sh
|