build: remove obsolete gulp build task (#27386)

PR Close #27386
This commit is contained in:
Igor Minar
2018-12-01 03:58:09 -08:00
parent 3ca5de7efd
commit d7c72fced7
2 changed files with 0 additions and 23 deletions

View File

@ -1,21 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
module.exports = {
// build everything and generate bundles
'all': (gulp) => (done) => execBuild(done),
// same as all without the bundling part - faster / lower memory usage
'no-bundle': (gulp) => (done) => execBuild(done, '--bundle=false'),
};
function execBuild(done, args = '') {
const path = require('path');
const childProcess = require('child_process');
// increase maxbuffer to address out of memory exception when running certain tasks
childProcess.exec(path.join(__dirname, `../../build.sh ${args}`), {maxBuffer: 300 * 1024}, done);
}