Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 3.34 KB

README.md

File metadata and controls

84 lines (54 loc) · 3.34 KB

Robo Digipolis Package Drupal8

Drupal 8 Packaging/Compile tasks for Robo Task Runner

Latest Stable Version Latest Unstable Version Total Downloads License

Build Status Maintainability Test Coverage PHP 7 ready

Commands

This package provides default commands wich you can use in your RoboFile.php like so:

class RoboFile extends \Robo\Tasks
{
    use \DigipolisGent\Robo\Task\Package\Drupal8\Commands\loadCommands;
}

digipolis:package-project

vendor/bin/robo digipolis:package-drupal8 FILE [DIR] [OPTIONS]

Arguments

FILE

The name of the archive file that will be created.

DIR

The directory to package. Defaults to the config value digipolis.root.project if it is set (see https://github.com/digipolisgent/robo-digipolis-general for more information), or the current working directory otherwise.

Options

--ignore, -i

Comma separated list of filenames to ignore, has sensible defaults for Drupal 8 projects

digipolis:themes-clean-drupal8

vendor/bin/robo digipolis:themes-clean-drupal8 [THEMES] [DIRS]

Arguments

THEMES

Comma-seperated list of Drupal theme machine names. Defaults to the keys of the digipolis.themes.drupal8 config value.

DIRS

Comma-seperated list of directories in which to search for the themes. Defaults to the digipolis.root.project and digipolis.root.web config values, or the current working directory if that is not set.

digipolis:themes-compile-drupal8

vendor/bin/robo digipolis:themes-compile-drupal8 [THEMES] [DIRS]

Arguments

THEMES

Comma-seperated list of Drupal theme machine names, or comma separated list in the format themename:command where themename is the name of the theme to compile and command is the name of the grunt/gulp command to execute (defaults to compile). Defaults to the digipolis.themes.drupal8 config value.

DIRS

Comma-seperated list of directories in which to search for the themes. Defaults to the digipolis.root.project and digipolis.root.web config values, or the current working directory if that is not set.