Skip to content

Commit 39dce60

Browse files
author
Given Ncube
committed
feat: added the ability to discover packages on dumpautoload
1 parent 2b8454d commit 39dce60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
"analyse": "vendor/bin/phpstan analyse",
5252
"test": "vendor/bin/pest",
5353
"test-coverage": "vendor/bin/pest --coverage",
54-
"format": "vendor/bin/pint"
54+
"format": "vendor/bin/pint",
55+
"post-autoload-dump": [
56+
"@php ./vendor/bin/testbench package:discover --ansi"
57+
]
5558
},
5659
"config": {
5760
"sort-packages": true,

0 commit comments

Comments
 (0)