dev-master
9999999-dev
EUPL-1.1
The Requires
The Development Requires
Abandoned. Check the OpenEuropa project for more information., (*1)
OpenEuropa build system based on Robo., (*3)
Make sure your RoboFile
class extends EC\OpenEuropa\Robo\Tasks
:, (*4)
<?php use EC\OpenEuropa\Robo\Tasks; /** * Class RoboFile. */ class RoboFile extends Tasks { }
List available commands by running:, (*5)
$ ./vendor/bin/robo
Command | Description |
---|---|
project:install |
Install project from scratch |
project:install-config |
Install project from existing configuration |
project:setup-settings |
Setup Drupal settings.php file |
project:setup-behat |
Setup Behat test environment |
Build commands can be configured by providing the following configuration parameters in a robo.yml.dist
file:, (*6)
# Site information. site: name: Site name mail: info@example.org profile: oe_profile update: false locale: en # Administrator account. account: name: admin password: admin mail: admin@example.org # Database parameters. database: host: 127.0.0.1 port: 3306 name: drupal user: root password: '' prefix: '' # Behat settings. behat: # Behat configuration template. source: behat.yml.dist # Resulting Behat configuration file after performing token replacement. destination: behat.yml # Following tokens will be automatically replaced when running "project:setup-behat". tokens: _base_url: http://localhost # Binary location. bin: drush: ./vendor/bin/drush # Parameters for Drupal's settings.php. settings: config_directories: sync: ../config/sync
Configuration is processed by the Robo Config project, check its README.md
for more information on how to properly override configuration parameters., (*7)
EUPL-1.1