chore: precommit scripts for bindings

This commit is contained in:
thesimplekid
2024-05-06 21:21:41 +01:00
parent 7ea7e0bda0
commit 7d714a2fc5
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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