Skip to content

Commit 742e921

Browse files
Merge pull request #23 from dennisinteractive/27790_console_updates
case 27790; console updates merge to master
2 parents edb40f9 + 59496c4 commit 742e921

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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" \;'

chain/chain-site-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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"
22
command:
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:

0 commit comments

Comments
 (0)