compass-compiler

0.0.1 • Public • Published

compass-compiler

A standalone compiler for compass.

install

npm install compass-compiler --save

usage

 
var compass = require( 'compass-compiler' );
 
compass.compile( options, function( err, result, code ){
 
    if (code === 127) {
        console.warn(
            'You need to have Ruby and Compass installed ' +
            'and in your system PATH for this task to work. '
        );
    }
 
    // `compass compile` exits with 1 and outputs "Nothing to compile"
    // on stderr when it has nothing to compile.
    // https://github.com/chriseppstein/compass/issues/993
    if (code === 1 && !/Nothing to compile|Compass can't find any Sass files to compile/g.test(result.stderr)) {
        console.warn('');
    }
});
 

options

See grunt-contrib-compass to get detail about the options.

Readme

Keywords

none

Package Sidebar

Install

npm i compass-compiler

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • abc-team