File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ # Usage: drupal site:compile:prod --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" \;'
You can’t perform that action at this time.
0 commit comments