Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Task / Gulp / loadTasks.php
diff --git a/vendor/consolidation/robo/src/Task/Gulp/loadTasks.php b/vendor/consolidation/robo/src/Task/Gulp/loadTasks.php
new file mode 100644 (file)
index 0000000..6fdc6ca
--- /dev/null
@@ -0,0 +1,16 @@
+<?php
+namespace Robo\Task\Gulp;
+
+trait loadTasks
+{
+    /**
+     * @param string $task
+     * @param null|string $pathToGulp
+     *
+     * @return \Robo\Task\Gulp\Run
+     */
+    protected function taskGulpRun($task = 'default', $pathToGulp = null)
+    {
+        return $this->task(Run::class, $task, $pathToGulp);
+    }
+}