Files
2021-05-22 22:57:06 +09:00

9 lines
130 B
Bash
Executable File

#!/bin/bash
cat << EOF > .git/hooks/pre-commit
#!/bin/bash
set -xe
npx lint-staged
make clean
EOF
chmod a+x .git/hooks/pre-commit