Add composer test:size as shortcut bundle size test

Change-Id: Id3c6519eba22babd694cc5fdf3ca85bd44ba7df4
This commit is contained in:
Kosta Harlan 2021-11-09 21:12:39 +01:00 committed by Jdlrobson
parent 1ceb673578
commit 23bfd3ff36
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,9 @@
"mediawiki/mediawiki-phan-config": "0.11.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.3.1"
"php-parallel-lint/php-parallel-lint": "1.3.1",
"phpunit/phpunit": "^8.5.0",
"johnkary/phpunit-speedtrap": "^3.1"
},
"scripts": {
"fix": [
@ -49,6 +51,7 @@
"@phpcs",
"minus-x check ."
],
"test:size": "phpunit -c ../../phpunit.xml.dist tests/phpunit/structure/BundleSizeTest.php --verbose",
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
}