mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Use -execdir
to update the lockfiles
This commit is contained in:
parent
52a0f87e3c
commit
fdaaa1fc77
4
.github/scripts/update-lockfiles.sh
vendored
4
.github/scripts/update-lockfiles.sh
vendored
|
@ -1,9 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function update_lockfiles() {
|
||||
for toml in **/Cargo.toml; do
|
||||
(cd "$(dirname "$toml")" && cargo update)
|
||||
done
|
||||
find . -name Cargo.lock -execdir cargo update \;
|
||||
}
|
||||
|
||||
update_lockfiles
|
||||
|
|
Loading…
Reference in a new issue