Skip to content

Commit eaf1dd0

Browse files
authored
Merge pull request #29 from tcharding/12-30-update-lock-files
Add update lock files script
2 parents f1f3e6f + e263971 commit eaf1dd0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

contrib/update-lock-files.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Update the minimal/recent lock file
4+
5+
set -euo pipefail
6+
7+
for file in Cargo-minimal.lock Cargo-recent.lock; do
8+
cp --force "$file" Cargo.lock
9+
cargo check
10+
cp --force Cargo.lock "$file"
11+
done

0 commit comments

Comments
 (0)