soy-php/grunt-task

Soy 的 Grunt 任务

0.2.0 2015-11-20 15:29 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:53:43 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License

简介

这是一个用于 GruntSoy 任务

使用方法

使用 composer 将 soy-php/grunt-task 包含到你的项目中

$ composer require soy-php/grunt-task

然后在你的配置文件中,你可以这样使用这个任务

<?php

$recipe = new \Soy\Recipe();

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

return $recipe;