Run lint as part of test script
This commit is contained in:
parent
61c5325f78
commit
a64f0c7fc7
|
@ -20,7 +20,8 @@
|
||||||
"lint": "php-cs-fixer fix",
|
"lint": "php-cs-fixer fix",
|
||||||
"prod": "composer run-script generate -- --env prod",
|
"prod": "composer run-script generate -- --env prod",
|
||||||
"test": [
|
"test": [
|
||||||
"composer run test:unit"
|
"composer run test:unit",
|
||||||
|
"composer run lint"
|
||||||
],
|
],
|
||||||
"test:unit": "phpunit",
|
"test:unit": "phpunit",
|
||||||
"watch": "composer run-script --timeout=0 generate -- --server --watch"
|
"watch": "composer run-script --timeout=0 generate -- --server --watch"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
[build]
|
[build]
|
||||||
command = """
|
command = """
|
||||||
composer lint
|
|
||||||
composer test
|
composer test
|
||||||
composer prod
|
composer prod
|
||||||
yarn prod
|
yarn prod
|
||||||
|
|
Loading…
Reference in a new issue