gulp-compass
Advanced tools
Comparing version 2.0.0 to 2.0.1
'use strict'; | ||
var PLUGIN_NAME = 'gulp-compass', | ||
path = require('path'), | ||
spawn = require('child_process').spawn, | ||
@@ -92,4 +93,4 @@ gutil = require('gulp-util'), | ||
if (opts.force) { options.push('--force'); } | ||
options.push('--css-dir', opts.css); | ||
options.push('--sass-dir', opts.sass); | ||
options.push('--css-dir', path.normalize(opts.css)); | ||
options.push('--sass-dir', path.normalize(opts.sass)); | ||
@@ -96,0 +97,0 @@ if (opts.import_path) { |
{ | ||
"name": "gulp-compass", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Compile Compass files", | ||
@@ -46,4 +46,3 @@ "main": "index.js", | ||
"mocha": "^1.21.4", | ||
"should": "^4.0.4", | ||
"which": "^1.0.5" | ||
"should": "^4.0.4" | ||
}, | ||
@@ -50,0 +49,0 @@ "engines": { |
@@ -260,3 +260,16 @@ 'use strict'; | ||
it('should normalize ./ paths in sass and css options', function(done) { | ||
compass(path.join(__dirname, 'sass/simple.sass'), { | ||
project: __dirname, | ||
sass: './sass', | ||
css: './css', | ||
logging: true | ||
}, function(code, stdout, stderr) { | ||
code.should.be.equal(0); | ||
stderr.should.be.empty; | ||
done(); | ||
}); | ||
}); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
1374343
9
659