Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

2.1.0 - Precommit command

Compare
Choose a tag to compare
@SebSept SebSept released this 12 May 20:18
· 44 commits to v2 since this release
addec1a

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.