CodeIgniter4/admin/setup.sh
2021-07-24 17:01:13 +08:00

8 lines
184 B
Bash

#!/bin/sh
# Install a pre-commit hook that
# automatically runs php-cs-fixer to lint code
mkdir -p .git/hooks
cp admin/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit