File tree Expand file tree Collapse file tree 7 files changed +23
-66
lines changed
Expand file tree Collapse file tree 7 files changed +23
-66
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ commands:
99 name : ' %{{name}}'
1010# Run updates.
1111 - command : site:update
12- options :
13- placeholder :
14- - ' name:%{{name}}'
12+ arguments :
13+ name : ' %{{name}}'
1514# Run tests.
1615 - command : site:test
1716 options :
1817 placeholder :
19- - ' name:%{{name}}'
18+ - ' name:%{{name}}'
19+ - ' tags:%{{tags|-n}}'
Original file line number Diff line number Diff line change 44 description : ' Runs updates on Production.'
55commands :
66# Run updates.
7- - command : site:update
8- options :
9- placeholder :
10- - ' name:%{{name}}'
7+ - command : site:update
8+ arguments :
9+ name : ' %{{name}}'
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ commands:
99 name : ' %{{name}}'
1010# Run updates.
1111 - command : site:update
12- options :
13- placeholder :
14- - ' name:%{{name}}'
12+ arguments :
13+ name : ' %{{name}}'
1514# Run tests.
1615 - command : site:test
1716 options :
1817 placeholder :
1918 - ' name:%{{name}}'
19+ - ' tags:%{{tags|-n}}'
Original file line number Diff line number Diff line change @@ -9,6 +9,5 @@ commands:
99 name : ' %{{name}}'
1010# Run updates.
1111 - command : site:update
12- options :
13- placeholder :
14- - ' name:%{{name}}'
12+ arguments :
13+ name : ' %{{name}}'
Original file line number Diff line number Diff line change 1- # Usage: drupal site:test --placeholder="name:subscriptions" --placeholder="behat_params :--tags=bannerimage"
1+ # Usage: drupal site:test --placeholder="name:subscriptions" --placeholder="tags :--tags=bannerimage"
22command :
33 name : site:test
44 description : ' Sets the test suites up and then runs them.'
55commands :
6- # We must ensure we run this command first in all chains to setup our console environment.
7- - command : site:base:setup
8- arguments :
9- name : ' %{{name}}'
106# Set up testing suites
117 - command : site:test:setup
8+ options :
9+ placeholder :
10+ - ' name:%{{name}}'
11+ # Run Tests
12+ - command : site:test:exec
1213 arguments :
1314 name : ' %{{name}}'
14- # Run Behat
15- - command : exec
16- arguments :
17- bin : ' cd ${{site_destination_directory}}/tests; ./behat %{{behat_params|-n}};'
18- # Run phpunit
19- - command : exec
20- arguments :
21- bin : ' cd ${{site_destination_directory}}; ./vendor/bin/phpunit;'
15+ tags : ' %{{tags|-n}}'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ application:
22 autowire :
33 commands :
44 forced :
5- ' site:base:setup ' :
6- class : \DennisDigital\Drupal\Console\Command\SiteSetupCommand
75 ' site:checkout ' :
86 class : \DennisDigital\Drupal\Console\Command\SiteCheckoutCommand
97 ' site:compose ' :
@@ -26,4 +24,8 @@ application:
2624 class : \DennisDigital\Drupal\Console\Command\SiteNPMCommand
2725 ' site:grunt ' :
2826 class : \DennisDigital\Drupal\Console\Command\SiteGruntCommand
27+ ' site:test:exec ' :
28+ class : \DennisDigital\Drupal\Console\Command\SiteTestExecCommand
29+ ' site:update ' :
30+ class : \DennisDigital\Drupal\Console\Command\SiteUpdateCommand
2931 name : { }
You can’t perform that action at this time.
0 commit comments