cargo lock updater: use git ls-files
This commit is contained in:
parent
cb75c6456c
commit
1c3adc487c
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
find . -type f -name 'Cargo.lock' -print0 | while IFS=$'\0' read -r -d '' file; do
|
||||
for file in $(git ls-files | grep Cargo.lock); do
|
||||
(cd "$(dirname "$file")" && cargo update -wq)
|
||||
git add $file
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue