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

12 lines
222 B
Bash
Raw Normal View History

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