taco-team-build.js
function _addPlatformsToProject(cordovaPlatforms, projectPath, cordova) {
    var promise = Q();
    cordovaPlatforms.forEach(function (platform) {
        if (!utilities.fileExistsSync(path.join(projectPath, 'platforms', platform))) {
            promise = promise.then(function () { return cordova.raw.platform('add', platform); });
        } else {
            console.log('Platform ' + platform + ' already added.');
        }
    });

    return promise;
}
function _addPlatformsToProject(cordovaPlatforms, projectPath, cordova) {
    var promise = Q();
    cordovaPlatforms.forEach(function (platform) {
        if (!utilities.fileExistsSync(path.join(projectPath, 'platforms', platform))) {
            promise = promise.then(function () { return cordova.raw.platform('add', platform); });
        } else {
            console.log('Platform ' + platform + ' already added.');
        }
    });

    return promise;
}
function _addPlatformsToProject ( cordovaPlatforms , projectPath , cordova ) { var promise = Q ( ) ; cordovaPlatforms . forEach ( function ( platform ) { if ( ! utilities . fileExistsSync ( path . join ( projectPath , 'platforms' , platform ) ) ) { promise = promise . then ( function ( ) { return cordova . raw . platform ( 'add' , platform ) ; } ) ; } else { console . log ( 'Platform ' + platform + ' already added.' ) ; } } ) ; return promise ; }
Prep for build by adding platforms and setting environment variables
Prep for build by adding platforms and setting environment variables