Run lint as part of test script

This commit is contained in:
Oliver Davies 2019-05-21 08:06:36 +01:00
parent 61c5325f78
commit a64f0c7fc7
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,8 @@
"lint": "php-cs-fixer fix",
"prod": "composer run-script generate -- --env prod",
"test": [
"composer run test:unit"
"composer run test:unit",
"composer run lint"
],
"test:unit": "phpunit",
"watch": "composer run-script --timeout=0 generate -- --server --watch"

View file

@ -1,6 +1,5 @@
[build]
command = """
composer lint
composer test
composer prod
yarn prod