Permalink
Browse files

Merge pull request #483 from jeffinmotion/compassconfig

Support for an expanded compass --require arg
  • Loading branch information...
2 parents 3070183 + 71282f7 commit 17e332e116f4cf20b3873862cf671e6fa0387788 @sindresorhus sindresorhus committed Sep 17, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 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 17e332e

Please sign in to comment.