hololake-system-architecture/product-source/hololake-platform/.husky/pre-commit

8 lines
195 B
Shell
Executable file

#!/usr/bin/env sh
set -eu
hook_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
cd "$hook_dir/.."
bash scripts/test-guanghu-native-authority.sh
node scripts/validate-guanghu-native-profile.mjs