rust-bitcoin-unsafe-fast/contrib/update-lock-files.sh

12 lines
222 B
Bash
Executable File

#!/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