1015 B
1015 B
Gulp Tasks
Run
Gulp Run
<?php
// simple execution
$this->taskGulpRun()->run();
// run task 'clean' with --silent option
$this->taskGulpRun('clean')
->silent()
->run();
?>
silent()addssilentoption to gulpnoColor()adds--no-coloroption to gulpcolor()adds--coloroption to gulpsimple()adds--tasks-simpleoption to gulpdir($dir)Changes working directory of commandprinted($arg)Should command output be printedarg($arg)Pass argument to executable. Its value will be automatically escaped.args($args)Pass methods parameters as arguments to executable. Argument valuesrawArg($arg)Pass the provided string in its raw (as provided) form as an argument to executable.option($option, $value = null)Pass option to executable. Options are prefixed with--, value can be provided in second parameter.optionList($option, $value = null)Pass multiple options to executable. Value can be a string or array.