X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-core%2Fconfig%2Fchain%2Fdevelop-contribute.yml;fp=vendor%2Fdrupal%2Fconsole-core%2Fconfig%2Fchain%2Fdevelop-contribute.yml;h=ae3070a7a3fef6ad9ada1861588697251f943aac;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-core/config/chain/develop-contribute.yml b/vendor/drupal/console-core/config/chain/develop-contribute.yml new file mode 100644 index 000000000..ae3070a7a --- /dev/null +++ b/vendor/drupal/console-core/config/chain/develop-contribute.yml @@ -0,0 +1,23 @@ +# How to use +# develop:contribute --drupal=/path/to/drupal-directory --code=/path/to/code-directory +command: + name: develop:contribute + description: 'Download Drupal + Drupal Console to contribute.' +vars: + repository: drupal-composer/drupal-project:8.x-dev +commands: + - command: exec + arguments: + bin: composer create-project {{repository}} {{drupal}} --prefer-dist --no-progress --no-interaction --no-install + - command: exec + arguments: + bin: composer require drupal/console-develop --dev --working-dir={{drupal}} --no-update + - command: exec + arguments: + bin: composer install --working-dir={{drupal}} + - command: exec + arguments: + bin: drupal site:install standard --root={{drupal}} --db-type="sqlite" --no-interaction + - command: exec + arguments: + bin: drupal develop:create:symlinks --code-directory={{code}} --root={{drupal}}