mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 01:21:34 +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
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
function update_lockfiles() {
|
function update_lockfiles() {
|
||||||
for toml in **/Cargo.toml; do
|
find . -name Cargo.lock -execdir cargo update \;
|
||||||
(cd "$(dirname "$toml")" && cargo update)
|
|
||||||
done
|
|
||||||
}
|
}
|
||||||
|
|
||||||
update_lockfiles
|
update_lockfiles
|
||||||
|
|
Loading…
Reference in a new issue