Download the PHP package thinkshout/robo-drupal without Composer
On this page you can find all versions of the php package thinkshout/robo-drupal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thinkshout/robo-drupal
More information about thinkshout/robo-drupal
Files in thinkshout/robo-drupal
Package robo-drupal
Short Description Robo Tasks for Drupal projects
License GPL-2.0+
Informations about the package robo-drupal
robo-drupal
Robo commands and tasks for Drupal
Doc pages are at https://thinkshout.github.io/robo-drupal/index.html
Classes are listed at https://thinkshout.github.io/robo-drupal/class_think_shout_1_1_robo_drupal_1_1_tasks.html
Update information
If you update to the 3.x release, you will need to rerun robo configure
to set the TS_PROD_BRANCH variable (--prod-branch=main). This allows you to use a branch name for production deployments that is not the default. If you do not specify a production branch, it will default to "main".
Once you have set a production branch, you can create a branch with that name from your current production branch, push the new branch up to github, and delete the old branch. In some cases, you may need to change the default branch in github (although that is normally "develop"). You may want to review open pull requests as well, and notify other developers on the project to update their local repositories by pulling down the new branch.
Installation
- Start by requiring it for dev environments:
composer require --dev thinkshout/robo-drupal -W
- In your projects' composer.json file, under "extra" -> "drupal-scaffold" -> "allowed-packages" add "thinkshout\/robo-drupal"
- If you don't have a
.env.dist
file in your project's root, runrobo init
. - Run
robo configure
. This should create a.env
file based on your.env.dist
file. -
Test out the configuration above by pulling down the live database:
- In your project's ".gitignore" file, add the ".env" file at the bottom, like so (you might just need to uncomment):
All versions of robo-drupal with dependencies
drupal/config_split Version ^2.0
drush/drush Version >=9.6
genesis/behat-fail-aid Version ^3.6