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