forked from trinitrix/core
1
0
Fork 0
core/update.sh

16 lines
214 B
Bash
Executable File

#!/usr/bin/env sh
update() {
cd "$1" || (echo "No '$1' directory" && exit 1)
cargo update && cargo upgrade
[ "$1" = "." ] || cd ..
}
update .
git add Cargo.lock Cargo.toml flake.lock
# vim: ft=sh