soy-php/grunt-task

Grunt task for Soy

0.2.0 2015-11-20 15:29 UTC

This package is not auto-updated.

Last update: 2024-12-21 19:05:42 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

Introduction

This is a grunt task for Soy

Usage

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

$ composer require soy-php/grunt-task

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

<?php

$recipe = new \Soy\Recipe();

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

return $recipe;