Merge rust-bitcoin/rust-bitcoin#2012: Add a script for updating lock files
8b84227aec
Add a script for updating lock files (Tobin C. Harding) Pull request description: Every time one of the dependencies is explicitly changed we have to update the minimal/recent lock files. Add a script to do so. ACKs for top commit: apoelstra: ACK8b84227aec
sanket1729: ACK8b84227aec
Tree-SHA512: f165308131077c55712d9ae5b85a4dc5f0f24c660dd4c196c48a53f64411b25714b2f32d3a6538f040b3d8ef5240df7d16b7b66561e0d8bb49245b44eb8f522c
This commit is contained in:
commit
da1836edf5
|
@ -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