Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 979 Bytes

File metadata and controls

29 lines (20 loc) · 979 Bytes

Gulp Task

Latest Stable Version Total Downloads Latest Unstable Version License

Introduction

This is a gulp task for Soy

Usage

Include soy-php/gulp-task in your project with composer:

$ composer require soy-php/gulp-task

Then in your recipe you can use the task as follows:

<?php

$recipe = new \Soy\Recipe();

$recipe->component('default', function (\Soy\Gulp\RunTask $gulpTask) {
    $gulpTask
        ->setTask('scss')
        ->run();
});

return $recipe;