Skip to content
Snippets Groups Projects
Commit fa2a6127 authored by jurgenhaas's avatar jurgenhaas
Browse files

Provide list of files in a config file

Add additional arguments to ahoy commands
parent 36710869
No related branches found
Tags v1.6.4
No related merge requests found
ahoyapi: v2
commands:
phpcs:
cmd: ahoy d4d exec vendor/bin/phpcs --standard=DrupalPractice /var/www/html/web/modules/custom/ /var/www/html/web/profiles/custom/ /var/www/html/web/themes/custom/
cmd: ahoy d4d exec vendor/bin/phpcs --standard=DrupalPractice --file-list=/var/www/html/tests/phpcs.files "$@"
usage: PHP coding standards
phpunit:
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist "$@"
usage: PHP unit tests
phpunit:list:suites:
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-suites
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-suites "$@"
usage: List available test suites of PHP unit tests
phpunit:list:groups:
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-groups
cmd: ahoy d4d exec vendor/bin/phpunit --configuration /var/www/html/tests/phpunit.xml.dist --list-groups "$@"
usage: List available test groups of PHP unit tests
......@@ -129,7 +129,7 @@ class Handler extends BaseHandler {
}
// Copy Test files.
foreach (['phpunit.xml.dist'] as $template) {
foreach (['phpcs.files', 'phpunit.xml.dist'] as $template) {
$fs->copy($pluginRoot . '/templates/tests/' . $template, 'tests/' . $template);
}
......
/var/www/html/web/modules/custom/
/var/www/html/web/profiles/custom/
/var/www/html/web/themes/custom/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment