Skip to content

Commit

Permalink
move precommit out of post-update and post-install
Browse files Browse the repository at this point in the history
  • Loading branch information
stovak committed Jun 15, 2021
1 parent 6bb674c commit b9bb9de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
"@update-class-lists",
"bin/t3 self:clear-cache"
],
"code:setup-precommit": [
"bash scripts/setup-precommit.sh"
],
"test:behat": [
"SHELL_INTERACTIVE=true behat --colors --config tests/config/behat.yml --suite=default"
],
Expand All @@ -113,11 +116,9 @@
"phpunit --colors=always -c tests/config/functional.phpunit.xml.dist --debug"
],
"post-install-cmd": [
"bash scripts/setup-precommit.sh 2>&1",
"Tooly\\ScriptHandler::installPharTools"
],
"post-update-cmd": [
"bash scripts/setup-precommit.sh 2>&1",
"Tooly\\ScriptHandler::installPharTools"
],
"pre-commit": [
Expand Down

0 comments on commit b9bb9de

Please sign in to comment.