cheppers / robo-sass
This package is abandoned and no longer maintained.
The author suggests using the sweetchuck/robo-sass package instead.
Compile SCSS files with the 'sass' PHP extension.
0.1.2
2019-11-13 19:20 UTC
Requires
- php: >=7.1
- ext-sass: >=0.5
- consolidation/robo: ^1.0
- webmozart/path-util: ^2.3
Requires (Dev)
- codeception/codeception: ^2.2
- danielstjules/stringy: ^3.0
- squizlabs/php_codesniffer: ^3.5
- sweetchuck/codeception-module-robo-task-runner: ^0.6
- sweetchuck/git-hooks: ^0.0
- sweetchuck/robo-git: ^0.0
- sweetchuck/robo-phpcs: ^0.0
- symfony/finder: ^4.0
README
Compile SASS/SCSS files with sass PHP extension
Example
<?php use Sweetchuck\Robo\Sass\SassTaskLoader; use Robo\Contract\TaskInterface; use Robo\Tasks; use Symfony\Component\Finder\Finder; class RoboFile extends Tasks { use SassTaskLoader; public function sassCompile(): TaskInterface { $files = (new Finder()) ->in('./scss') ->name('/^[^_].*\.(sass|scss)$/') ->files(); return $this ->taskSassCompile() ->setFiles($files); } }