chore: update flakebox

This commit is contained in:
thesimplekid
2023-11-10 21:31:54 +00:00
parent 01d6e555c7
commit 9f126e3ed2
4 changed files with 48 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ export -f check_nothing
function check_cargo_fmt() {
set -euo pipefail
cargo fmt --all --check
flakebox-in-each-cargo-workspace cargo fmt --all --check
}
export -f check_cargo_fmt
@@ -43,7 +43,7 @@ function check_cargo_lock() {
set -euo pipefail
# https://users.rust-lang.org/t/check-if-the-cargo-lock-is-up-to-date-without-building-anything/91048/5
cargo update --workspace --locked
flakebox-in-each-cargo-workspace cargo update --workspace --locked
}
export -f check_cargo_lock
@@ -52,7 +52,7 @@ function check_leftover_dbg() {
set -euo pipefail
errors=""
for path in $(echo "$FLAKEBOX_GIT_LS_TEXT" | grep '.*\.rs'); do
for path in $(echo "$FLAKEBOX_GIT_LS_TEXT" | grep '.*\.rs'); do
if grep 'dbg!(' "$path" > /dev/null; then
>&2 echo "$path contains dbg! macro"
errors="true"