Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions config/dist/chain/console-contribute.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# How to use
# console:contribute --drupal=/path/to/drupal-directory --code=/path/to/code-directory
command:
name: console: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:contribute --code-directory=%{{code}} --root=%{{drupal}}