gulp-compass
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -15,2 +15,3 @@ 'use strict'; | ||
config_file: false, | ||
logging: true, | ||
project: process.cwd() | ||
@@ -58,13 +59,16 @@ }; | ||
var compass = spawn(compassExecutable, options, {cwd: opts.project}); | ||
compass.stdout.setEncoding('utf8'); | ||
compass.stdout.on('data', function (data) { | ||
console.log(data); | ||
}); | ||
compass.stderr.setEncoding('utf8'); | ||
compass.stderr.on('data', function (data) { | ||
if (!data.match(/^\u001b\[\d+m$/)) { | ||
gutil.log(data); | ||
} | ||
}); | ||
if (opts.logging) { | ||
compass.stdout.setEncoding('utf8'); | ||
compass.stdout.on('data', function (data) { | ||
console.log(data); | ||
}); | ||
compass.stderr.setEncoding('utf8'); | ||
compass.stderr.on('data', function (data) { | ||
if (!data.match(/^\u001b\[\d+m$/)) { | ||
gutil.log(data); | ||
} | ||
}); | ||
} | ||
}; |
{ | ||
"name": "gulp-compass", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Compile Compass files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -79,3 +79,3 @@ # Gulp compass | ||
**description:** The folder inside the project to output css into. | ||
**description:** The directory where the css stylesheets are kept. It is relative to the ``project`` option. | ||
@@ -86,3 +86,3 @@ #### sass | ||
**description:** The folder inside the project to find sass in. | ||
**description:** The directory where the sass stylesheets are kept. It is relative to the ``project`` option. | ||
@@ -93,2 +93,8 @@ #### project | ||
**description:** The location where all your assets are store. | ||
**description:** The location where all your assets are store. | ||
#### logging | ||
**default:** true | ||
**description:** show/hide compile log message. |
4925
71
97