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"
2
2
command :
3
3
name : site:test
4
4
description : ' Sets the test suites up and then runs them.'
@@ -14,7 +14,7 @@ commands:
14
14
# Run Behat
15
15
- command : exec
16
16
arguments :
17
- bin : ' cd %{{root|/vagrant/repos}}/%{{name}}/tests; ./behat;'
17
+ bin : ' cd %{{root|/vagrant/repos}}/%{{name}}/tests; ./behat %{{behat_params|-n}} ;'
18
18
# Run phpunit
19
19
- command : exec
20
20
arguments :
You can’t perform that action at this time.
0 commit comments