diff --git a/build/gulpfile.ci.js b/build/gulpfile.ci.js new file mode 100644 index 00000000000..ca781a91378 --- /dev/null +++ b/build/gulpfile.ci.js @@ -0,0 +1,59 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +'use strict'; + +const gulp = require('gulp'); +const task = require('./lib/task'); + +gulp.task(task.define('win32-ia32', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-win32-ia32-ci') +))); + +gulp.task(task.define('win32-ia32-min', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-win32-ia32-min-ci') +))); + +gulp.task(task.define('win32-x64', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-win32-x64-ci') +))); + +gulp.task(task.define('win32-x64-min', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-win32-x64-min-ci') +))); + +gulp.task(task.define('linux-ia32', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-linux-ia32-ci') +))); + +gulp.task(task.define('linux-ia32-min', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-linux-ia32-min-ci') +))); + +gulp.task(task.define('linux-x64', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-linux-x64-ci') +))); + +gulp.task(task.define('linux-x64-min', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-linux-x64-min-ci') +))); + +gulp.task(task.define('darwin', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-darwin-ci') +))); + +gulp.task(task.define('darwin-min', task.series( + gulp.task('compile-extensions-build'), + gulp.task('vscode-darwin-min-ci') +))); diff --git a/gulpfile.js b/gulpfile.js index 1d13cff608c..e41bf4a498f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -40,4 +40,6 @@ process.on('unhandledRejection', (reason, p) => { // Load all the gulpfiles only if running tasks other than the editor tasks const build = path.join(__dirname, 'build'); require('glob').sync('gulpfile.*.js', { cwd: build }) + .filter(f => !/gulpfile\.ci\.js/.test(f)) .forEach(f => require(`./build/${f}`)); +require('./build/gulpfile.ci.js'); \ No newline at end of file