Gruntfile.js
function () {
    var scopes = fs.readdirSync('./test_scopes').filter(function (filename) {
      return filename[0] !== '.';
    });
    var config = {
      options: {
        color: false,
        interactive: false
      }
    };
    // Create a sub config for each test scope
    for (var idx in scopes) {
      var scope = scopes[idx];
      config['test_scopes_' + scope] = {
        options: {
          cwd: 'test_scopes/' + scope,
          production: false
        }
      };
    }
    return config;
  }
function () {
    var scopes = fs.readdirSync('./test_scopes').filter(function (filename) {
      return filename[0] !== '.';
    });
    var config = {
      options: {
        color: false,
        interactive: false
      }
    };
    // Create a sub config for each test scope
    for (var idx in scopes) {
      var scope = scopes[idx];
      config['test_scopes_' + scope] = {
        options: {
          cwd: 'test_scopes/' + scope,
          production: false
        }
      };
    }
    return config;
  }
function ( ) { var scopes = fs . readdirSync ( './test_scopes' ) . filter ( function ( filename ) { return filename [ 0 ] !== '.' ; } ) ; var config = { options : { color : false , interactive : false } } ; // Create a sub config for each test scope for ( var idx in scopes ) { var scope = scopes [ idx ] ; config [ 'test_scopes_' + scope ] = { options : { cwd : 'test_scopes/' + scope , production : false } } ; } return config ; }
Returns configuration for bower-install plugin
Returns configuration for bower - install plugin