//Create a runner that will run a separate build for each item
//in the configs array. Thanks to @jwhitley for this cleverness
for (var i = 0; i < __Screwdriver.rjs.moduleConfigs.length; i++) {
    requirejs.optimize(__Screwdriver.rjs.moduleConfigs[i], function(x) {
        print("Screwdriver RequireJS Optimizer (r.js)");
        print(x);
        print("Screwdriver RequireJS optimization complete for file: " + __Screwdriver.rjs.moduleConfigs[i].out)
        print("===============================>SCREWDRIVER<=====================================");
    })
}


//Create a runner that will run a separate build for each item
//in the configs array. Thanks to @jwhitley for this cleverness
print("Starting RequireJS (r.js) Optimizer...");
for (var i = 0; i < __Screwdriver.rjs.moduleConfigs.length; i++) {
    requirejs.optimize(__Screwdriver.rjs.moduleConfigs[i], function(x) {
        print("Screwdriver RequireJS Optimizer (r.js)");
        print(x);
        print("Screwdriver RequireJS optimization complete for file: " + __Screwdriver.rjs.moduleConfigs[i].out)
        print("===============================>SCREWDRIVER<=====================================");
    })
}


Make it clearer when the r.js optimizer starts
Make it clearer when the r.js optimizer starts
