mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-06 21:56:13 +01:00
chore: update flakebox
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user