7 lines
170 B
Plaintext
7 lines
170 B
Plaintext
|
#!/usr/bin/env zsh
|
||
|
|
||
|
find . -type f -name 'Cargo.lock' -print0 | while IFS=$'\0' read -r -d '' file; do
|
||
|
(cd "$(dirname "$file")" && cargo update -wq)
|
||
|
git add $file
|
||
|
done
|