Skip to content

Commit b9bb9de

Browse files
committed
move precommit out of post-update and post-install
1 parent 6bb674c commit b9bb9de

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@
8787
"@update-class-lists",
8888
"bin/t3 self:clear-cache"
8989
],
90+
"code:setup-precommit": [
91+
"bash scripts/setup-precommit.sh"
92+
],
9093
"test:behat": [
9194
"SHELL_INTERACTIVE=true behat --colors --config tests/config/behat.yml --suite=default"
9295
],
@@ -113,11 +116,9 @@
113116
"phpunit --colors=always -c tests/config/functional.phpunit.xml.dist --debug"
114117
],
115118
"post-install-cmd": [
116-
"bash scripts/setup-precommit.sh 2>&1",
117119
"Tooly\\ScriptHandler::installPharTools"
118120
],
119121
"post-update-cmd": [
120-
"bash scripts/setup-precommit.sh 2>&1",
121122
"Tooly\\ScriptHandler::installPharTools"
122123
],
123124
"pre-commit": [

0 commit comments

Comments
 (0)