mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-24 08:05:02 +01:00
Add misc/scripts
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
This commit is contained in:
10
misc/scripts/precommit.sh
Executable file
10
misc/scripts/precommit.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -exuo pipefail
|
||||
|
||||
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-docs.sh" # Check Rust docs
|
||||
Reference in New Issue
Block a user