We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c61db1b commit 65d54e7Copy full SHA for 65d54e7
contrib/update-lock-files.sh
@@ -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
justfile
@@ -31,4 +31,8 @@ sane: lint
31
32
# Check for API changes.
33
check-api:
34
- ./contrib/check-for-api-changes.sh
+ ./contrib/check-for-api-changes.sh
35
36
+# Update the lock files.
37
+update-lock-files:
38
+ ./contrib/update-lock-files.sh
0 commit comments