Add script to update-lock-files
Copy the script from `rust-bitcoin`, also add a `just` command to call it.
This commit is contained in:
parent
c61db1b44f
commit
65d54e7bbe
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
#
|
||||||
|
# Update the minimal/recent lock file
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
for file in Cargo-minimal.lock Cargo-recent.lock; do
|
||||||
|
cp --force "$file" Cargo.lock
|
||||||
|
cargo check
|
||||||
|
cp --force Cargo.lock "$file"
|
||||||
|
done
|
Loading…
Reference in New Issue