Skip to content

Commit f526f08

Browse files
committed
chore: Install dev tools automatically in dev mode
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 parent 70017bd commit f526f08

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
}
1313
},
1414
"scripts": {
15+
"post-install-cmd": [
16+
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install --ansi"
17+
],
18+
"post-update-cmd": [
19+
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi"
20+
],
1521
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
1622
"cs:check": "php-cs-fixer fix --dry-run --diff",
1723
"cs:fix": "php-cs-fixer fix",

0 commit comments

Comments
 (0)