From 33ca38dc20e5bc027b07b7a1671328e535cb587e Mon Sep 17 00:00:00 2001 From: DanGould Date: Mon, 28 Oct 2024 15:06:23 -0400 Subject: [PATCH] Add a script to update lock files --- contrib/update-lock-files.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 contrib/update-lock-files.sh diff --git a/contrib/update-lock-files.sh b/contrib/update-lock-files.sh new file mode 100755 index 00000000..6dadda46 --- /dev/null +++ b/contrib/update-lock-files.sh @@ -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 \ No newline at end of file