This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
2.1.0 - Precommit command
This version add a pre-commit utility.
composer psdt:install-precommit-hook
This command need to be run only once.
It does :
- add a composer script
pre-commit
- add file
precommit.sh
- make it executable
- symlink it to .git/hooks/pre-commit
So before a commit is can be performed the composer script pre-commit
must succeed (return 0).
You can tweak the script by just editing the composer script.
You can run the pre-commit
at any time `compose
Other changes are refactoring.