From 7d714a2fc5c7917d627c6bed2933c204d4d4a4e8 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Mon, 6 May 2024 21:21:41 +0100 Subject: [PATCH] chore: precommit scripts for bindings --- misc/scripts/check-crates.sh | 1 + misc/scripts/check.sh | 2 +- misc/scripts/precommit.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/scripts/check-crates.sh b/misc/scripts/check-crates.sh index 998e4bf1..e1e00b2f 100755 --- a/misc/scripts/check-crates.sh +++ b/misc/scripts/check-crates.sh @@ -31,6 +31,7 @@ buildargs=( "-p cdk-redb" "-p cdk-redb --no-default-features --features wallet" "-p cdk-redb --no-default-features --features mint" + "-p cdk-js --no-default-features --features" ) for arg in "${buildargs[@]}"; do diff --git a/misc/scripts/check.sh b/misc/scripts/check.sh index 637d53bf..fe34ff96 100755 --- a/misc/scripts/check.sh +++ b/misc/scripts/check.sh @@ -7,5 +7,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" "${DIR}/check-fmt.sh" check # Check if Rust code is formatted "${DIR}/check-crates.sh" # Check all crates "${DIR}/check-crates.sh" msrv # Check all crates MSRV -#"${DIR}/check-bindings.sh" # Check all bindings +"${DIR}/check-bindings.sh" # Check all bindings "${DIR}/check-docs.sh" # Check Rust docs diff --git a/misc/scripts/precommit.sh b/misc/scripts/precommit.sh index 8e55cc3c..37d45d67 100755 --- a/misc/scripts/precommit.sh +++ b/misc/scripts/precommit.sh @@ -6,5 +6,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" "${DIR}/check-fmt.sh" # Format the code "${DIR}/check-crates.sh" # Check all crates -#"${DIR}/check-bindings.sh" # Check all bindings +"${DIR}/check-bindings.sh" # Check all bindings "${DIR}/check-docs.sh" # Check Rust docs