Skip to content

Commit

Permalink
Add run
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Nov 8, 2023
1 parent dae7bce commit 1b576ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"wp-env": "wp-env",
"lint-js": "wp-scripts lint-js",
"format-js": "npm run lint-js -- --fix",
"prelint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'",
"prelint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'",
"phpstan": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script phpstan",
"lint-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script lint",
"format-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run-script format",
"pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'",
"pretest-php": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer run 'install --no-interaction'",
"test-php": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose'",
"pretest-php-coverage": "wp-env run tests-cli --env-cwd=/var/www/html/wp-content/plugins/plugin-check/ composer 'install --no-interaction'",
"test-php-coverage": "wp-env run tests-cli 'phpunit -c /var/www/html/wp-content/plugins/$(basename $(pwd))/phpunit.xml.dist --verbose --coverage-clover /var/www/html/wp-content/plugins/$(basename $(pwd))/build/logs/php-coverage.xml'",
Expand Down

0 comments on commit 1b576ab

Please sign in to comment.