This repository has been archived on 2026-10-21. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
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