ec-europa/oe-robo

This package is abandoned and no longer maintained. The author suggests using the openeuropa/task-runner package instead.

Installs: 35

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 10

Forks: 1

Open Issues: 2

Type:robo-tasks

dev-master 2018-02-20 09:48 UTC

This package is not auto-updated.

Last update: 2019-02-20 19:13:44 UTC


README

Abandoned. Check the OpenEuropa project for more information.

OpenEuropa Robo integration

Build Status

OpenEuropa build system based on Robo.

Usage

Make sure your RoboFile class extends EC\OpenEuropa\Robo\Tasks:

<?php

use EC\OpenEuropa\Robo\Tasks;

/**
 * Class RoboFile.
 */
class RoboFile extends Tasks {

}

Available commands

List available commands by running:

$ ./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

Configuration

Build commands can be configured by providing the following configuration parameters in a robo.yml.dist file:

# 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.