grunt-contrib-sass
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -122,1 +122,10 @@ # Options | ||
Run `sass` with [bundle exec](http://gembundler.com/man/bundle-exec.1.html): `bundle exec sass`. | ||
## banner | ||
Type: `String` | ||
Prepend the specified string to the output file. Useful for licensing information. | ||
*Can't be used if you use the `sourcemap` option.* |
{ | ||
"name": "grunt-contrib-sass", | ||
"description": "Compile Sass to CSS", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-sass", | ||
@@ -31,8 +31,9 @@ "author": { | ||
"dependencies": { | ||
"dargs": "~0.1.0" | ||
"dargs": "~0.1.0", | ||
"async": "~0.2.9" | ||
}, | ||
"devDependencies": { | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-jshint": "~0.4.3", | ||
"grunt-contrib-nodeunit": "~0.1.2", | ||
"grunt-contrib-clean": "~0.5.0", | ||
"grunt-contrib-jshint": "~0.7.2", | ||
"grunt-contrib-nodeunit": "~0.2.0", | ||
"grunt-contrib-internal": "~0.4.4", | ||
@@ -39,0 +40,0 @@ "grunt": "~0.4.1" |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-sass [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-sass.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-sass) | ||
# grunt-contrib-sass v0.5.0 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-sass.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-sass) | ||
@@ -152,3 +152,3 @@ > Compile Sass to CSS | ||
Run `sass` with [bundle exec](http://gembundler.com/man/bundle-exec.1.html): `bundle exec sass`. | ||
Run `sass` with [bundle exec](http://bundler.io/v1.3/man/bundle-exec.1.html): `bundle exec sass`. | ||
@@ -160,5 +160,5 @@ | ||
Prepend the specified string to the output file. Useful for licensing | ||
information. | ||
Prepend the specified string to the output file. Useful for licensing information. | ||
*Can't be used if you use the `sourcemap` option.* | ||
@@ -248,2 +248,3 @@ ### Examples | ||
* 2013-08-21 v0.5.0 Add banner option. | ||
* 2013-07-06 v0.4.1 Use file.orig.src if file.src does not exist and return early to avoid passing non-existent files to sass binary. | ||
@@ -265,2 +266,2 @@ * 2013-06-30 v0.4.0 Rewrite task to be able to support Source Maps. Compile Sass files in parallel for better performance. | ||
*This file was generated on Tue Jul 09 2013 13:08:22.* | ||
*This file was generated on Thu Aug 22 2013 03:28:49.* |
@@ -9,8 +9,8 @@ /* | ||
'use strict'; | ||
var path = require('path'); | ||
var dargs = require('dargs'); | ||
var numCPUs = require('os').cpus().length; | ||
var async = require('async'); | ||
module.exports = function (grunt) { | ||
var path = require('path'); | ||
var dargs = require('dargs'); | ||
var numCPUs = require('os').cpus().length; | ||
var bannerCallback = function (filename, banner) { | ||
@@ -42,3 +42,3 @@ var content; | ||
grunt.util.async.forEachLimit(this.files, numCPUs, function (file, next) { | ||
async.eachLimit(this.files, numCPUs, function (file, next) { | ||
var src = file.src[0]; | ||
@@ -98,2 +98,3 @@ if (typeof src !== 'string') { | ||
grunt.log.writeln('File "' + file.dest + '" created.'); | ||
next(error); | ||
@@ -100,0 +101,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18538
156
264
3
+ Addedasync@~0.2.9
+ Addedasync@0.2.10(transitive)