Kaynağa Gözat

chore: precommit scripts for bindings

thesimplekid 10 ay önce
ebeveyn
işleme
7d714a2fc5

+ 1 - 0
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

+ 1 - 1
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

+ 1 - 1
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