CodeIgniter4/admin/setup.sh

8 lines
184 B
Bash
Raw Permalink Normal View History

#!/bin/sh
# Install a pre-commit hook that
2021-07-24 17:01:13 +08:00
# 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