Skip to content

Commit

Permalink
Add a script to update lock files
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGould committed Oct 28, 2024
1 parent f70619b commit 33ca38d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions contrib/update-lock-files.sh
Original file line number Diff line number Diff line change
@@ -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 -f "$file" Cargo.lock
cargo check
cp -f Cargo.lock "$file"
done

0 comments on commit 33ca38d

Please sign in to comment.