Skip to content
Browse files

Support for an expanded compass --require arg

  • Loading branch information...
1 parent 3070183 commit 71282f70189e0d64dad69c4f4e4048eb5357b2ec @jeffinmotion committed Sep 17, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 cli/tasks/compass.js
View
6 cli/tasks/compass.js
@@ -18,6 +18,12 @@ module.exports = function( grunt ) {
if ( _.isString( val ) ) {
args.push( '--' + el, val );
}
+
+ if( _.isArray( val ) ) {
+ val.forEach(function( subval ) {
+ args.push( '--' + el, subval );
+ });
+ }
});
return args;

0 comments on commit 71282f7

Please sign in to comment.
Something went wrong with that request. Please try again.