File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 1+ # Usage: drupal site:compile:artifact --placeholder="name:subscriptions" --placeholder="root:/vagrant/repos"
2+ command :
3+ name : site:compile:artifact
4+ description : ' Compiles the source, downloading and extracting the packages.'
5+ commands :
6+ # Run composer
7+ - command : site:compose
8+ arguments :
9+ name : ' %{{name}}'
10+ options :
11+ destination-directory : ' %{{root|/vagrant/repos}}'
12+ # Run npm
13+ - command : exec
14+ arguments :
15+ bin : ' cd %{{root|/vagrant/repos}}/web; find . -type d \( -name node_modules -o -name contrib -o -path ./core \) -prune -o -name package.json -execdir sh -c "npm install" \;'
16+ # Run grunt
17+ - command : exec
18+ arguments :
19+ bin : ' cd %{{root|/vagrant/repos}}/web; find . -type d \( -name node_modules -o -name contrib -o -path ./core \) -prune -o -name Gruntfile.js -execdir sh -c "grunt" \;'
Original file line number Diff line number Diff line change 1- # Usage: drupal site:test --placeholder="name:subscriptions" --placeholder="root:/vagrant/repos"
1+ # Usage: drupal site:test --placeholder="name:subscriptions" --placeholder="root:/vagrant/repos" --placeholder="behat_params:--tags=bannerimage"
22command :
33 name : site:test
44 description : ' Sets the test suites up and then runs them.'
@@ -14,7 +14,7 @@ commands:
1414# Run Behat
1515 - command : exec
1616 arguments :
17- bin : ' cd %{{root|/vagrant/repos}}/%{{name}}/tests; ./behat;'
17+ bin : ' cd %{{root|/vagrant/repos}}/%{{name}}/tests; ./behat %{{behat_params|-n}} ;'
1818# Run phpunit
1919 - command : exec
2020 arguments :
You can’t perform that action at this time.
0 commit comments