Skip to content

General compile (grunt/gulp for theme) and package (tar for project) commands for deploying websites.

License

Notifications You must be signed in to change notification settings

district09/robo-digipolis-package

Repository files navigation

Robo Digipolis Package

General 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\Commands\loadCommands;
}

digipolis:package-project

vendor/bin/robo digipolis:package-project 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.

digipolis:theme-clean

vendor/bin/robo digipolis:theme-clean [DIR]

Arguments

DIR

The theme directory to clean. Defaults to the current working directory.

digipolis:theme-compile

vendor/bin/robo digipolis:theme-compile [DIR] [COMMAND]

Arguments

DIR

The directory of the theme to compile. Defaults to the current working directory.

COMMAND

The grunt/gulp command to execute if grunt or gulp is available.