unity-test-runner/.husky/pre-commit

14 lines
144 B
Bash
Executable File

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
if [ -t 1 ]; then
exec < /dev/tty
fi
yarn lint-staged
yarn lint
yarn test
yarn build
git add dist